| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
* 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/spinbox.tcl:
* library/text.tcl: added extra checks against bug #220269 and
made spinbox reuse more of the entry procedure code.
|
|
|
|
|
| |
implementing TIP 44. All Tk commands and variables matching
tk[A-Z]* are now in the ::tk namespace.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/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.
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkInt.h: added Tk_SpinboxObjCmd declaration
* generic/tkEntry.c: added 'spinbox' widget - an extension of the
entry widget type.
* generic/tkWindow.c: added 'spinbox' to core Tk commands
* library/spinbox.tcl: (new file) binding and helper procs for spinbox
* library/tk.tcl: added spinbox.tcl to list of files to source
* tests/entry.test: updated changed error messages
* tests/spinbox.test: (new file) test suite for spinbox
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
entry when it is readonly or normal.
* doc/entry.n: Added documentation for readonly state,
-disabledforeground, -disabledbackground.
* tests/entry.test: Added tests for readonly state.
* generic/tkEntry.c: Added support for "readonly" state, and
redefined "disabled" state. A disabled entry will display its
text in a dimmed color and possibly with a different background,
and will be completely unusable (no selection, no editing). A
readonly entry will look like a normal entry, but it will not be
editable; selection is still allowed. [RFE: 4239]. To support the
new disabled state properly, "-disabledforeground" and
"-disabledbackground" options were added.
*** THIS IS A BACKWARDS INCOMPATIBLE BEHAVIOR CHANGE ***
* win/tkWinDefault.h:
* mac/tkMacDefault.h:
* unix/tkUnixDefault.h: Added DEF_ENTRY_DISABLED_FG,
DEF_ENTRY_DISABLED_BG_COLOR, DEF_ENTRY_DISABLED_BG_MONO.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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]
|
| |
|
|
|
|
|
|
|
| |
of a while loop that could eat CPU tremendously. Behavior of
moving the cursor at the right edge changes slightly (previously
it tried to keep the cursor at the right edge, now it moves the
cursor to a "central right" location - better IMHO).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
* library/button.tcl: cleaned up programming (config -> configure)
and fixed Windows relief bug [Bug: 664]
* library/entry.tcl: changed Entry C/C/P to not use global data
(now uses tkPriv(data)) [Bug: 1475]
* library/listbox.tcl: fixed extended mode script error [Bug: 866]
|
| |
|
| |
|
|
|
|
| |
to Shift-Insert on Windows.
|
| |
|
| |
|
|
|