summaryrefslogtreecommitdiffstats
path: root/library/text.tcl
Commit message (Collapse)AuthorAgeFilesLines
* * doc/text.n: TIP #104 implementation which generalizes thehobbs2002-06-211-7/+3
| | | | | | | | | | | | | | | * generic/tkText.c: undo/redo stack to not be tied solely to the * generic/tkText.h: text widget. The APIs are still private. * generic/tkUndo.c: This also adds a stack limiting ability and * generic/tkUndo.h: a -maxundo option to the text widget (in * library/text.tcl: addition to the options from TIP #26) should * mac/tkMacDefault.h: users want to limit the undo/redo stack * tests/text.test: (should not be necessary in most cases). * unix/Makefile.in: [Patch #554763] (callewart) * unix/tkUnixDefault.h: * win/Makefile.in: * win/makefile.vc: * win/tkWinDefault.h:
* Middle button no longer double pastes into text! Also cleaned some code up.dkf2002-03-071-9/+8
|
* * 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.
* * 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.
* * 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.
* added TIP#26 text widget undo/redo functionalityhobbs2001-11-131-4/+49
|
* * Corrected TIP 44 typodgp2001-08-271-2/+2
| | | | | that broke binding. Thanks to "Michal" for the fix. [Bug 455468]
* 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.
* * 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.
* * 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.
* * 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).
* * 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].
* * 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.
* * 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.
* * library/text.tcl: fixed double-click selection behavior wherehobbs2000-01-211-4/+21
| | | | there were embedded windows/widgets in the same line. [Bug: 3989]
* * 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]
* 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
* * Merged 8.1 branch into the main trunkstanton1999-04-161-22/+25
|
* Added support for the MouseWheel event.rjohnson1998-10-101-1/+10
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Changed binding on <ButtonRelease-2> to be a binding on <<PasteSelection>>surles1998-08-031-5/+5
|
* plugin updateswelch1998-06-271-47/+47
|
* Initial revisionrjohnson1998-04-011-0/+1010