Bugs item #1779790, was opened at 2007-08-22 21:38 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1779790&group_id=2439
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Scintilla Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Eric Promislow (ericp) Assigned to: Nobody/Anonymous (nobody) Summary: Problems with single-character selection at start of line Initial Comment: A problem involving selections at the start of line in these two scenarios has been discussed on the list: 1. http://mailman.lyra.org/pipermail/scintilla-interest/2007-August/008994.html o]<|>foo ... "o]" marks the left margin "<|>" marks cursor position Prerec: set global selection.fore to #ff00000 Action: press shift key and right-arrow Result: selection appears, but foreground color remains same. Expected: visible selection, foreground color should be red Additional action: press shift-right-arrow again Result = Expected: first two chars of the line have the right foreground color 2. http://mailman.lyra.org/pipermail/scintilla-interest/2007-August/009002.html o]xy<|>z Action: press shift-left-arrow Result: chars "xy" are red and "y" is selected. Expected: only "y" should be red and selected Most likely patch at this time: ==== scintilla/src/PositionCache.cxx#1 - scintilla/src/PositionCache.cxx ==== @@ -341,7 +341,7 @@ } void BreakFinder::Insert(int val) { - if (val > nextBreak) { + if (val >= nextBreak) { for (unsigned int j = 0; j<saeLen; j++) { if (val == selAndEdge[j]) { return; Please excuse the details. We ran into a similar problem in Komodo, and I wanted a scintilla bug item to reference ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1779790&group_id=2439 _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
