aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
2014-01-13Send SCN_UPDATEUI with SC_UPDATE_SELECTION for Shift+Tab inside text.Neil1-0/+1
2013-12-27Ensure caret is visible after scroll.Neil1-2/+2
2013-12-22Avoid unsafe strcpy, strncpy, and strcat replacing with safer functions whichNeil1-41/+26
guaranty termination where possible.
2013-12-17Added DropSelectionN API.Neil1-0/+5
2013-12-15Make single argument constructors explicit to avoid unexpected conversions.Neil1-3/+3
2013-12-15Format normalization - whitespace and braces made consistent.Neil1-8/+8
Parameter names added to method declarations.
2013-12-10Bug [#1562]. Clickable area of hotspots was off by half a character width.Christian Walther1-9/+13
2013-12-03Bug [#1560]. Fix missing second one of adjacent indicators.Christian Walther1-1/+4
When there are two adjacent instances of the same indicator (but with different values), only the first of them was drawn. This is because when attempting to skip the gap between the first and second indicator, Editor::DrawIndicators would skip whatever run was there without checking whether it was actually a gap or already the next indicator.
2013-11-03Report control key as SCI_META for mouse down events for GTK+ on OS X.nyamatongwe1-28/+62
Also enables more flexibility with modifier keys.
2013-10-23Widen scroll width for annotations.Neil1-7/+12
2013-09-30Added FocusIn and FocusOut notification events (SCN_FOCUSIN/SCN_FOCUSOUT) to beNeil1-1/+5
used in preference to the SCEN_SETFOCUS and SCEN_KILLFOCUS command events.
2013-09-25Feature [feature-requests:#1021]. Cocoa SCI_POSITIONFROMPOINTCLOSE returning ↵nyamatongwe1-0/+3
invalid position.
2013-09-22Avoid attempt to redraw an empty area.nyamatongwe1-0/+2
2013-09-10Use C++ struct initialization {} so can drop -Wno-missing-braces setting for ↵Neil1-17/+17
gcc.
2013-08-20Added PositionRelative to optimize navigation by character.Neil1-0/+3
2013-08-20Fix bug where coordinates were relative to the text view instead of the ↵nyamatongwe1-5/+9
whole view.
2013-08-15Feature: [feature-requests:#1007]. Option to allow mouse selection toNeil1-1/+16
switch to rectangular by pressing Alt after start of gesture. From Neomi.
2013-08-12Feature: [feature-requests:#1007]. Fix bugs with redrawing selection.Neil1-0/+2
From Neomi.
2013-08-09Structure colour settings into ColourOptional and ForeBackColours types.Neil1-54/+46
2013-08-09Move wrapping, edge and visual adjustments from Editor to ViewStyle.Neil1-87/+73
Move printing parameters into a separate struct.
2013-08-08Bug [#1512]. Fix bug with horizontal caret position when margin changed.Neil1-0/+2
From Neomi.
2013-08-08Move functionality from Editor to ViewStyle.Neil1-167/+156
controlCharSymbol setting moved along with calculated fields for tab width and control symbols. Use of TextSegment simplified and variables made const where possible.
2013-08-07Bug [#1511]. Ensure representation set up initially.Neil1-0/+2
2013-08-07Optimize performance with many control characters such as when openingNeil1-129/+101
a binary file. Simplify use of BreakFinder and use for layout as well as drawing.
2013-08-07Removed dead code.Neil1-17/+0
2013-07-25Minor changes to avoid warnings from Coverity.Neil1-4/+5
2013-07-23Only use map for character representations instead of unordered_map where ↵nyamatongwe1-3/+0
possible. unordered_map caused too many porting problems.
2013-07-22Added the character representation feature.Neil1-94/+167
2013-07-11Include case conversion data in Scintilla so that all platforms will performNeil1-0/+1
case conversion of Unicode text in accordance with Unicode.
2013-07-11Allow Editor subclasses to turn off overstrike caret.Neil1-1/+2
From Mitchell Foral.
2013-07-11Avoid warning for 64-bit build.Neil1-1/+1
2013-07-07When case conversion changes the length of the text, ensure onlyNeil1-6/+16
valid memory accessed and that the converted text is selected.
2013-07-03Ensure style data initialised before drawing margin.nyamatongwe1-0/+2
2013-06-18Simplify line wrapping code, minimize lines wrapped and avoid rewrapping lines.nyamatongwe1-109/+77
2013-06-18Determine more accurately whether painting was abandoned by styling and sonyamatongwe1-1/+3
decrease consequent line wrapping work.
2013-06-17Fix wrap width so doesn't take account of margin twice.nyamatongwe1-1/+1
2013-06-11Fix a bug with word wrap where the last line could be shown twice.nyamatongwe1-0/+2
2013-05-26Switch SelectionText to use a std::string to hold the data and to provide ↵nyamatongwe1-22/+26
accessors to this data. Add a length argument to DropAt, although previous signature still available.
2013-05-25Simplify copying text since it is now using a std::string so no need toNeil Hodgson1-29/+12
pre-allocate.
2013-05-24Made methods const where they can be and are logically const as well.nyamatongwe1-12/+12
2013-05-23Bug: [#1478]. Tab/backTab in column select requires one undo per line.nyamatongwe1-6/+2
From Eric Promislow at ActiveState.
2013-05-19Don't dereference character string when length is 0. May be a NULL pointernyamatongwe1-1/+1
and cause a crash and shouldn't read beyond length anyway.
2013-05-17Fix fold all to show lines instead of going past end which then failed.nyamatongwe1-1/+1
2013-05-07Replace X.data() with &X[0] to allow building with old releases of Visual C++.nyamatongwe1-1/+1
2013-05-05Since new throws an exception on failure, remove testing of result.nyamatongwe1-8/+4
2013-05-04Replacing raw pointers and allocations with std::string.nyamatongwe1-44/+18
2013-05-02Replacing raw pointers and allocations with std::vector and std::map.nyamatongwe1-2/+2
2013-04-26Bug: [#1467]. Don't change scroll position when window is zero size.nyamatongwe1-0/+3
2013-04-24Cosmetic: remove line-end whitespace.nyamatongwe1-17/+17
2013-04-24Added automatic folding options.nyamatongwe1-4/+81