summaryrefslogtreecommitdiffstats
path: root/library/text.tcl
Commit message (Collapse)AuthorAgeFilesLines
* Fix "Delete" and "Backspace" for text widgetsjan.nijtmans2020-05-271-2/+2
|
* Rename utility functions. Make Delete and Backspace work toojan.nijtmans2020-05-271-6/+6
|\
* | A different approach to glyph indexingjan.nijtmans2020-05-261-3/+3
|/
* Apply a patch from Christopher Chavez which correctly deals with the fact ↵culler2020-04-151-7/+20
|\ | | | | | | that Apple uses the middle mouse button for Button 3.
| * Apply a patch from Christopher Chavez which correctly deals with the fact ↵culler2020-04-151-7/+20
| | | | | | | | that Apple uses the middle mouse button for Button 3.
* | Merge 8.6jan.nijtmans2020-03-301-1/+5
|\ \ | |/
* | Consistancy in Key/Button bindings: Use "<Button-1>" in stead of "<1>", ↵jan.nijtmans2020-01-141-21/+21
| | | | | | | | "Key" in stead of "KeyPress" and "Button" in stead of "ButtonPress". Also eliminate unnessary "Any" and "Key" modifiers.
* | Aqua: fix IME behavior; make accent menus work; rework Services; deal with ↵culler2019-10-251-7/+20
|\ \ | |/ | | | | non-BMP pastes.
| * Add some protections against Tcl errors during IME text entry.culler2019-10-251-2/+6
| |
| * Make Apple's press-and-hold accent menu work with Tk entry and text widgets.culler2019-10-241-0/+3
| |
| * Remove the calls to update idletasks which were not needed.culler2019-10-241-2/+0
| |
| * Rework and simplify services so the TkService object won't interfere with ↵culler2019-10-231-6/+0
| | | | | | | | IME. It didn't need to be a subclass of NSView, or be in the Responder chain.
| * Add update idletasks for the text. Replace non-BMP characters by 0xfffd ↵culler2019-10-231-3/+4
| | | | | | | | when pasting.
| * More progress on implementing IMEculler2019-10-221-0/+13
| |
* | Fix [c8ccd1899c]: Pressing the up arrow key on the first line of a [text] ↵fvogel2019-08-211-9/+8
|\ \ | |/ | | | | does not move the cursor to 1.0
| * Fix [c8ccd1899c]: Pressing the up arrow key on the first line of a [text] ↵fvogel2019-08-211-9/+8
| |\ | | | | | | | | | does not move the cursor to 1.0
| | * Reset ::tk::Priv(textPosOrig) when hitting the start or end of displayed ↵fvogel2019-05-111-0/+4
| | | | | | | | | | | | text, so that when moving back the cursor does not jump in the middle of the line.
| | * Remove the guard code in proc ::tk::TextUpDownLine in order to get the ↵fvogel2019-04-141-9/+4
| | | | | | | | | | | | behavior requested in [c8ccd1899c]
| | * Ticket [c8ccd1899c]. Make the guard code in proc ::tk::TextUpDownLine work ↵fvogel2019-04-141-1/+1
| | | | | | | | | | | | as intended when moving the cursor downwards. Also, fix the bug in the index returned by the displayline modifier: the first displayed index shall be returned when the index calculated by the displayline modifier would be before the start of the displayed text.
* | | Merge 8.6. Also add &lt;6&gt; and &lt;7&gt; bindings for X11, where appropriatejan.nijtmans2019-08-181-1/+11
|\ \ \ | |/ /
| * | Refactor all MouseWheel bindings, doing it the same way everywhere. So ↵jan.nijtmans2019-08-161-1/+1
| | | | | | | | | | | | | | | | | | <MouseWheel> bindings are there on all platforms, (Button-4|5) only on X11. Also add bindings for vertical scrolling for iconlist, as suggested by Max Augsburg. (still to be tested on X11 and MacOS)
| * | CONST -> const. Eliminate unnecessary type-casts and end-of-line spacingjan.nijtmans2019-06-251-1/+1
| | |
* | | Merge 8.6. Purge end-of-line spacesjan.nijtmans2019-06-171-1/+1
|\ \ \ | |/ /
* | | merge core-8-6-branch: mac services improvementsdkf2019-06-151-7/+10
|\ \ \ | |/ /
| * | Remove unnecessary call to Button1-Release in text widgetKevin Walzer2019-05-011-3/+0
| | |
| * | Automatically bind text, entry, ttk::entry widgets to Services API at widget ↵Kevin Walzer2019-04-301-8/+12
| | | | | | | | | | | | creation/mapping; re-work data mechanism to use selection rather than clipboard API, thanks to Marc Culler for that insight
| * | Tweak text widget bindings to fire Services menu more consistently; ↵Kevin Walzer2019-04-241-6/+7
| | | | | | | | | | | | formatting cleanup; thanks to Marc Culler for user feedback and patch for formatting
| * | Cleanup of library code, removal of unneeded functionKevin Walzer2019-02-271-10/+0
| | |
| * | Update mac_services branch, intend to submit a TIPKevin Walzer2019-02-271-0/+18
| |\ \ | | |/ | |/|
| | * Implementation and documentation complete, now ready to be submitted as TIPKevin Walzer2018-03-081-2/+2
| | |
| | * Flesh out implementationKevin Walzer2018-03-071-1/+1
| | |
| | * Implement script level bindingsKevin Walzer2018-03-071-0/+6
| |/
* | Fix [b68710aed6]: Minor fixes to library/text.tcl bindings, and generation ↵fvogel2018-01-281-2/+2
|\ \ | |/ | | | | of <<Selection>> events. Legacy text widget.
| * Remove unnecessary (in the legacy text widget) check for normal state when ↵fvogel2018-01-151-1/+1
| | | | | | | | <Meta-d>
| * Take some proposals from kjnash in [b68710aed6], namely 1. Add test of ↵fvogel2018-01-141-3/+3
| | | | | | | | -state normal to <Meta-d>, and 2. Don't add autoseparators when doing <<Cut>> if the widget is disabled and the operation is therefore only a <<Copy>>.
* | Fix [dd9667635d]: text anchor not setfvogel2017-10-071-0/+3
|\ \ | |/
| * Fix [dd9667635d]: text anchor not setfvogel2017-09-221-0/+3
| |
* | merge core-8-6-branchjan.nijtmans2017-08-231-1/+1
|\ \ | |/
| * change non-working URL in comment to comparable working onejan.nijtmans2017-08-231-1/+1
| |
* | Fix [720879afe9] - WM_CHAR message handling. Patch from Christian Werner ↵jan.nijtmans2016-09-271-4/+4
|\ \ | |/ | | | | backported from http://www.androwish.org/index.html/info/a0da5845594cec28
* | Added comments justifying why we can rely on finding all the needed marks ↵fvogel2016-07-071-0/+13
| | | | | | | | still in the text widget at the time they are transformed into indices.
* | Better comments explaining the algorithm in ::tk::TextUndoRedoProcessMarksfvogel2016-07-051-7/+23
| |
* | Return indices making sense at undo/redo return time. The returned ranges ↵fvogel2016-07-041-0/+67
|/ | | | are optimized (no duplicates, no overlapping ranges). Works but needs polishing.
* Fixed bug [1669632fff] - text widget: autoseparator placement, <Control-1> ↵fvogel2015-10-091-0/+40
|\ | | | | | | cleanup
| * Fixed bug [1669632fff] cases (ii) and (iii) - Tolerate a shaky hand using ↵fvogel2015-10-041-0/+4
| | | | | | | | the mouse
| * Fixed bug [1669632fff] case (vi) - <<Cut>> is atomicfvogel2015-10-041-0/+9
| |
| * Fixed bug [1669632fff] case (v) - <<Clear>> is atomicfvogel2015-10-041-0/+8
| |
| * Added forgotten comment for case (iv)fvogel2015-10-041-0/+2
| |
| * Added forgotten comment for case (i)fvogel2015-10-041-0/+2
| |
| * Fixed bug [1669632fff] case (vii) - <<Undo>> shall not remove separatorsfvogel2015-10-041-0/+9
| |