summaryrefslogtreecommitdiffstats
path: root/library/text.tcl
Commit message (Collapse)AuthorAgeFilesLines
* Middle button no longer double pastes into text! Also cleaned some code up.dkf2002-03-071-9/+8
| | | FossilOrigin-Name: 265e5387f54b9516df83fe5f597f858a1fb0cae1
* * library/entry.tcl:mdejong2002-02-151-3/+1
| | | | | | | | | | | * library/text.tcl: Adjust <Double-1> and <Triple-1> bindings so that no anchor point is set and the insertion cursor is set to the last character in the selection. [Bug 220943] * tests/event.test: Add test cases for double click and drag as well as triple click and drag in the text and entry widgets. FossilOrigin-Name: a938c4252de56c2a923c43dfdeb05e203a835a36
* * library/text.tcl (tk::TextButton1): made text receive focus evenhobbs2001-12-281-2/+5
| | | | | | | in disabled state for Windows to show selection and allow mouse-wheel scrolling. FossilOrigin-Name: a854f9f234e2e359db0672772d0d0f8b18949cc6
* * library/entry.tcl:hobbs2001-12-271-12/+43
| | | | | | | | * library/spinbox.tcl: * library/text.tcl: added extra checks against bug #220269 and made spinbox reuse more of the entry procedure code. FossilOrigin-Name: aa3d08e6cc2e73a4a3d1435e884768df97b53a3b
* added TIP#26 text widget undo/redo functionalityhobbs2001-11-131-4/+49
| | | FossilOrigin-Name: 5265df93d207cec0cfc2940a152e030a2f848bd0
* * Corrected TIP 44 typodgp2001-08-271-2/+2
| | | | | | | that broke binding. Thanks to "Michal" for the fix. [Bug 455468] FossilOrigin-Name: a8bfa38006379815616e330a2c299976cc58789c
* Merged changes from feature branch dgp-privates-into-namespace,dgp2001-08-011-169/+166
| | | | | | | implementing TIP 44. All Tk commands and variables matching tk[A-Z]* are now in the ::tk namespace. FossilOrigin-Name: 3c0c681d8883f0843b9dcb3f402c2773f6a438a7
* * library/console.tcl:hobbs2001-07-031-4/+4
| | | | | | | | | | | | | | | | | | | | | | | * library/entry.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: added private ::tk::GetSelection command to handle requesting selection. This is to support requesting UTF8_STRING before generic STRING on Unix. Changed Text, Spinbox, Entry and Console to use this command. * tests/select.test: * generic/tkSelect.c (Tk_CreateSelHandler, Tk_DeleteSelHandler): on Unix, a UTF8_STRING handler will be created when the user requests a STRING handler (in addition to the STRING handler). This provides implicit support for the new UTF8_STRING selection target. * unix/tkUnixSelect.c (TkSelEventProc, ConvertSelection): Added support for UTF8_STRING target. [RFE #418653, Patch #433283] * generic/tkInt.h: added utf8Atom to TkDisplay structure. FossilOrigin-Name: 3993717faaae94fc303c678c9c3637465ce2c0a4
* * library/entry.tcl (tkEntryMouseSelect):mdejong2001-03-291-9/+3
| | | | | | | | | | | | * library/text.tcl (tkTextSelectTo): When the mouse is dragged with the button down, move the insertion cursor to the current mouse position. * tests/event.test: Add a series of tests for event generation. Add tests for selection, check the position of the insertion cursor. FossilOrigin-Name: 0f4e18f028203f54ff93fb9339069dd2f7c8f1e0
* * library/text.tcl: Enhanced <Tab> binding to behave like normalericm2000-07-191-6/+11
| | | | | | | <Tab> bindings when the text widget is disabled (ie, it advances focus to the next widget). FossilOrigin-Name: 705ae8694d954cb8af74839ed06884c4a99e5a1a
* * library/text.tcl: Tweaked double-/triple-click selection;ericm2000-04-171-7/+17
| | | | | | | | | | | previously, anchor and insert marks were placed in unexpected locations following a double or triple click. Now they are placed logically. Also tweaked the extension of selection via shift-double-clicks so that it no longer selects the contiguous whitespace on the side of the selection opposite the double-click. [RFE: 4253]. FossilOrigin-Name: 823d1bcb050e60a4654b34b343e68fa8ee4a3ecf
* * library/menu.tcl (tkMenuInvoke): corrected naming of tearoffshobbs2000-03-311-2/+2
| | | | | | | | | | [Bug: 4506] * library/tkfbox.tcl (tkIconList_Goto): caused browsecmd to be called in tkIconList_Select. This causes the entry to be set properly when using the type-in-name-in-listbox bindings. FossilOrigin-Name: 4a69b854d6281d40ac0f7889086ef830eb652119
* * library/listbox.tcl:hobbs2000-02-101-1/+18
| | | | | | | * library/text.tcl: added support for <4> and <5> for mousewheel style scrolling on Unix for mice that map to these buttons. FossilOrigin-Name: b344260e3cf0f0d10edfd9acbdc8944c410ab2a4
* * library/text.tcl: fixed double-click selection behavior wherehobbs2000-01-211-4/+21
| | | | | | there were embedded windows/widgets in the same line. [Bug: 3989] FossilOrigin-Name: a3ea60ecf7b46234aad7cd8b1f2912d646ea2ad6
* * library/entry.tcl:hobbs2000-01-061-2/+2
| | | | | | | | | | | | | | * library/focus.tcl: * library/listbox.tcl: * library/scale.tcl: * library/scrlbar.tcl: * library/tearoff.tcl: * library/text.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: fixed unprotected arg parsing through eval/after [Bug: 3943] FossilOrigin-Name: 27fac895c60473c5a773921f3f54648bcf82f0ad
* 1999-09-01 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-021-23/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/msgbox.tcl: changed the behavior of tk_messageBox on Unix to be more Windows like in handling of <Return> and the default button * library/button.tcl: * library/clrpick.tcl: * library/comdlg.tcl: * library/console.tcl: * library/dialog.tcl: * library/entry.tcl: * library/focus.tcl: * library/listbox.tcl: * library/menu.tcl: * library/msgbox.tcl: * library/palette.tcl: * library/safetk.tcl: * library/scale.tcl: * library/scrlbar.tcl: * library/tearoff.tcl: * library/text.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: updated commands to use [string] ops instead of expr equality operators FossilOrigin-Name: 09a6499cb99c0cb6c16ea5a2e6076132489b9b8f
* * Merged 8.1 branch into the main trunkstanton1999-04-161-22/+25
| | | FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
* Added support for the MouseWheel event.rjohnson1998-10-101-1/+10
| | | FossilOrigin-Name: 36ac110bcfabe39cd0f8f0af96e59dd73d52646e
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
| | | FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
* Changed binding on <ButtonRelease-2> to be a binding on <<PasteSelection>>surles1998-08-031-5/+5
| | | FossilOrigin-Name: 5930de5d5be6662bcdc386d39edf66ea9ad08097
* plugin updateswelch1998-06-271-47/+47
| | | FossilOrigin-Name: a31d73e5fbaa868008186067e2535e2f9c3140a0
* Initial revisionrjohnson1998-04-011-0/+1010
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4