summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Fixed TextChanged caller of FindDLine for correct taking into account of ↵fvogel2014-12-101-10/+58
| | | | | | | | | | | | | | | | elided newlines
| * | | Fixed indentation in FindDLinefvogel2014-12-101-17/+17
| | | |
| * | | Merged from branch bug-7703f947aafvogel2014-12-071-0/+24
| |\ \ \ | | |/ /
| | * | Fixed text yview scroll pixels|lines with elided linesfvogel2014-12-071-0/+24
| | | |
| * | | indexPtr->byteIndex == 0 is the beginning of a display line only if indexPtr ↵fvogel2014-12-061-5/+3
| | | | | | | | | | | | | | | | is not elided. The start of a logical line is not always the start of a display line.
| * | | indexPtr->byteIndex == 0 is the beginning of a display line only if indexPtr ↵fvogel2014-12-061-1/+2
| | | | | | | | | | | | | | | | is not elided
| * | | Merged from branch bug-7703f947aafvogel2014-12-051-3/+6
| |\ \ \ | | |/ /
| | * | Fixed text count -ypixels with indices in elided linesfvogel2014-12-051-3/+6
| | | |
| * | | indexPtr->byteIndex == 0 is the beginning of a display line only if indexPtr ↵fvogel2014-12-051-1/+2
| |/ / | | | | | | | | | is not elided
| * | Fixed text count -xpixels with indices in elided linesfvogel2014-12-051-3/+5
| | |
| * | Fixed text see command for elided target indices.fvogel2014-12-031-44/+51
| | |
| * | Changed variable name for a better onefvogel2014-12-031-7/+7
| | |
| * | Checked dlineinfo caller of FindDLine, comments addedfvogel2014-12-031-0/+9
| | |
| * | Fixed indentation and typos in commentsfvogel2014-12-031-18/+16
| | |
| * | Fixed FindDLine again (the previous fix [575b376065] was an improvement ↵fvogel2014-11-301-48/+51
| | | | | | | | | | | | despite it did not fix all cases), see case 'C' in bug [7703f947aa]
| * | Fixed bbox caller of FindDLine, see case 'B' in bug [7703f947aa]fvogel2014-11-301-2/+16
| | |
| * | Fixing FindDLine was not enough in all cases, now fix its callers (see test ↵fvogel2014-11-231-2/+2
| | | | | | | | | | | | case 'A' in bug [7703f947aa])
| * | Fixed bug [7703f947aa] - Wrong refresh of display lines when tagging text as ↵fvogel2014-11-221-1/+3
| |/ | | | | | | elided
* | Remove Mac-specific idle handler in tkTextDisp.c that caused delay in text ↵Kevin Walzer2015-02-021-9/+0
| | | | | | | | redraw during scrolling; no longer needed
* | Stop `make test` segfaults.dgp2015-01-221-2/+11
| |
* | remove some unnecessary eol-spacingjan.nijtmans2015-01-151-2/+2
| |
* | Improved scrolling for text under Cocoa; thanks to Marc Culler for patch.Kevin Walzer2015-01-041-0/+34
| |
* | Fix typos in commentsfvogel2014-11-211-2/+2
|\ \ | |/
| * Fix typos in commentsfvogel2014-11-211-2/+2
| |
| * Fix for shimmering of buttons embedded when scrolled in text and canvas ↵Kevin Walzer2014-08-161-0/+10
| | | | | | | | widgets; improvements in scrolling smoothness in text widget. Thanks to Marc Culler for patches.
* | Fix for shimmering of buttons embedded when scrolled in text and canvas ↵Kevin Walzer2014-08-161-1/+10
| | | | | | | | widgets; improvements in scrolling smoothness in text widget. Thanks to Marc Culler for patches.
* | Eliminate all usage of __WIN32__ macro: Some compilers (e.g. Clang/LLVM) ↵jan.nijtmans2014-02-101-1/+1
| | | | | | | | | | don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
* | Eliminate all usage of functions Tcl_VarEval (deprecated) and Tcl_Eval (to ↵jan.nijtmans2013-03-071-2/+14
| | | | | | | | the prefered Tcl_EvalEx).
* | more places convertedjan.nijtmans2013-01-241-4/+4
| |
* | Much more cleaning up of result handling.dkf2012-07-231-4/+7
| |
* | Simpify determination whether we are running on cygwin.jan.nijtmans2012-05-311-0/+2
|\ \ | |/ | | Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll
| * Simpify determination whether we are running on cygwin. jan.nijtmans2012-05-301-0/+2
| |\ | | | | | | Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll.
| | * merge core-8-4-branch, still to be tested on Unixtobetestedjan.nijtmans2012-05-291-0/+2
| | |\
| | | * Simpify determination whether we are running on cygwin.jan.nijtmans2012-05-251-0/+2
| | | | | | | | | | | | | | | | Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll. Fix "make genstubs" when cross-compiling on UNIX
* | | | Bug 1630254: missing scrolling of text widget when from a -startline == ↵fvogel2012-05-281-2/+3
|\ \ \ \ | |/ / / | | | | | | | | -endline initial state it is configured to display a non-empty part of it
| * | | Better fix for bug-1630254bug_1630254fvogel2012-05-171-15/+3
| | | |
| * | | [Bug 1630254]: missing scrolling of text widget when from a -startline == ↵fvogel2012-05-171-2/+15
| |/ / | | | | | | | | | -endline initial state it is configured to display a non-empty part of it
* | | [Bug-1630262], [Bug-1615425]: segfault when deleting lines or tagging ↵fvogel2012-02-281-3/+3
|\ \ \ | |/ / | | | | | | outside of the -startline/-endline range with peer text widgets. [Bug-3487407]: Weird text indices.
| * | Bug-3487407: Weird text indicesbug_1630262fvogel2012-02-181-1/+1
| | |
| * | Better fix for bug-1630262, also fixing bug-1615425fvogel2012-02-021-28/+0
| | |
| * | [Bug-1630262]: segfault when deleting lines with peer text widgetsfvogel2012-01-311-2/+30
| | |
* | | [Bug-1754043] and [Bug-2321450]: When -blockcursor is true, the cursor ↵fvogel2012-01-261-0/+3
|\ \ \ | |/ / | | | | | | appears as a blinking bar which expands to the right edge of the widget.
| * | [Bug-1754043] and [Bug-2321450]: When -blockcursor is true, the cursor ↵patch_3479498fvogel2012-01-251-0/+3
| | | | | | | | | | | | appears as a blinking bar which expands to the right edge of the widget.
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * [Patch #3129527]: Fix buffer overflow w/ GCC 4.5 and -D_FORTIFY_SOURCE=2.nijtmans2011-01-251-2/+2
| | | | | | | | | | | | Just the strcpy->memcpy part, to prevent anything like [Bug #3164879]
| | * * generic/tkCanvas.c: allow -selectforeground option to be None; adddas2007-04-291-27/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkCanvText.c: fallback to fgColor when selFgColor is None * generic/tkEntry.c: (new default on aqua to match native L&F). * generic/tkListbox.c: * generic/tkText.c: * generic/tkCanvas.c: add support for bypassing all of Tk's double * generic/tkEntry.c: buffered drawing into intermediate pixmaps * generic/tkFrame.c: (via TK_NO_DOUBLE_BUFFERING #define), it is * generic/tkListbox.c: unnecessary & wasteful on aqua where all * generic/tkPanedWindow.c: drawing is already double-buffered by the * generic/tkTextDisp.c: window server. (Use of this on other * unix/tkUnixScale.c: platforms would only require implementation of TkpClipDrawableToRect()).
| | * * macosx/tkMacOSXColor.c (TkSetMacColor, TkpGetColor): use AppearanceMgrdas2006-09-101-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXDefault.h: to retrieve platform std colors for text * macosx/tkMacOSXPort.h: selections, add "systemHighlightSecondary" color name for standard color of inactive selections. * library/text.tcl (aqua): change focus bindings to implement platform standard look for inactive text selections using this new color. * generic/tkTextBTree.c (TkTextIsElided): on TkAqua, don't show text * generic/tkTextDisp.c (GetStyle): selection when text widget * generic/tkText.c (TextEventProc): is in disabled state. * generic/tkEntry.c (DisplayEntry): change default TkAqua selection * macosx/tkMacOSXDefault.h: relief to "flat" (platform std). * generic/tkText.c (Tk_TextCmd): fix bug leading to default text selection relief string DEF_TEXT_SELECT_RELIEF being ignored. * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): allow mouse event delivery to background windows with kWindowNoActivatesAttribute (e.g. overrideredirect windows), as these never come to the foreground they would not receive any mouse events otherwise. [Bug 1472624] * macosx/tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): do not send focus events to any windows with kWindowNoActivatesAttribute. * macosx/tkMacOSXXStubs.c (XQueryColor, XQueryColors): implement basic XColor computation from pixel values, enough to make tkImg's window.c happy, fixes img::window failures reported on tcl-mac. * macosx/tkMacOSXMenu.c (DrawMenuEntryLabel): fix leak. [Bug 1554672] * macosx/Makefile: workaround bug in 'cp -pRH' on Darwin 6 and earlier, fixes 'make embedded' failure reported on tcl-mac; fix error from 'make deploy' with same build tree as previous 'make embedded'. * macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): fix typo. * unix/tcl.m4: sync with tcl/unix/tcl.m4.
| | * * generic/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTIONhobbs2006-09-061-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkInt.h: control of entry/text selection display * generic/tkText.c: based on focus to the Tcl level, * generic/tkTextBTree.c: controlled by ::tk::AlwaysShowSelection * generic/tkTextDisp.c: (boolean, private). [Bug 1553691] * generic/tkWindow.c: * library/tk.tcl * unix/tkUnixPort.h: