aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
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
2013-04-21Implement commonly needed folding methods based on code from SciTE.nyamatongwe1-25/+106
2013-04-02Fix automatic scrolling on Cocoa.nyamatongwe1-0/+2
2013-03-20Add ScrollRange feature.nyamatongwe1-10/+48
2013-03-18Bug: [#1455]. Fix unfolding when new line inserted.nyamatongwe1-0/+5
2013-03-16Fix margin drawing with Cocoa when always-visible scrollbars turned on.nyamatongwe1-1/+3
2013-03-16Bug: [#1453]. Make subsequent tab markers visible on GTK+.nyamatongwe1-6/+3
Patch from Mark Yen at ActiveState with code simplified by Neil.
2013-03-15Use an NSScrollView on Cocoa for kinetic scrolling and hiding scrollbars ↵nyamatongwe1-51/+124
unless wanted. Also affects platform-independent code.
2013-03-15Simplify calculation of visible line for point.nyamatongwe1-4/+2