aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
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
2013-03-13Implement high-priority idle work on Cocoa to avoid abandoning paints in ↵nyamatongwe1-1/+1
some situations. Rename IdleStyling to IdleWork.
2013-03-13Add different types of task to StyleNeeded mechanism, renaming to WorkNeeded.Unknown1-11/+10
Ask to perform update UI work for some selection moves.
2013-03-13Handle test and reset of needUpdateUI in NotifyUpdateUI so less chance of ↵Unknown1-13/+12
desync.
2013-02-25Editor: SCI_LINESCROLL: treat columns as signedMook1-1/+1
2013-02-22Define the maximum number of margins in Scintilla.iface.nyamatongwe1-5/+5
2013-02-18Don't draw line numbers before start of document.nyamatongwe1-2/+3
For elastic over-shoot scrolling, Scintilla was drawing lines with 0, -1, ... in the margin.
2013-02-18Bug: [#1446]. Display thumb at correct position when SetVScrollBar(true) called.nyamatongwe1-0/+2
2013-02-05Add allocation of extended styles.nyamatongwe1-0/+9
2013-01-19Support the three Unicode line ends NEL, LS, and PS in CellBuffer, Document,nyamatongwe1-0/+18
Editor and the message interface. Will only be turned on for lexers that support Unicode line ends.
2013-01-19To allow for new line end sequences implement IsPositionInLineEnd on thenyamatongwe1-6/+14
document and use it instead of checks for particular byte values. Use equivalent checks against numCharsBeforeEOL in other contexts. When line ends visible, display byte value blobs for non-ASCII line ends.
2013-01-06Bug #1430. Fix crash when printing line longer than 8000 characters.nyamatongwe1-1/+1
2013-01-03Fix behaviour of the left and right keys after ↵nyamatongwe1-0/+4
SCI_SETSELECTIONMODE(SC_SEL_STREAM) where moving both left and right collapsed the selection instead of shrinking the selection by one character.
2013-01-01Feature #3592730. Option for caret line to be visible without focus.nyamatongwe1-2/+10
From Vidya Wasi.
2012-09-19Allow subclasses to modify padding when last segment on line is italics.nyamatongwe1-1/+2
Used by ncurses platform layer. From Mitchell Foral.
2012-09-05Fix crashes on Ubuntu with GTK+3 where scroll bar changes invalidate thenyamatongwe1-0/+2
drawing surface.
2012-09-04Cache the CaseFolder object between FindText calls so that finding many ↵nyamatongwe1-26/+14
instances of a common string in the document doesn't spend excessive time constructing case folder objects.
2012-08-26Add SCI_VCHOMEDISPLAYEXTEND keyboard commandColomban Wendling1-0/+12
This is like SCI_VCHOMEDISPLAY but extending the selection.
2012-08-25Add SCI_VCHOMEDISPLAY keyboard commandColomban Wendling1-0/+12
This works like SCI_HOMEDISPLAY but goes to the first visible character if on a logical line, like does SCI_VCHOME. This command makes it possible to use display-line-aware commands while keeping the "smart home" feature.
2012-07-24Add ncurses platform. Rest of the implementation is an external project.nyamatongwe1-3/+5
From Mitchell Foral.
2012-07-21Scale factor implemented for RGBAImages to allow for high definition markers ↵nyamatongwe1-1/+6
on retina displays.
2012-07-18strncat was being used with incorrect length argument. Result is alwaysnyamatongwe1-3/+3
safely limited so use strcat instead.
2012-07-16Implement SCI_GETSELECTIONEMPTY API. Bug #3543121.nyamatongwe1-0/+3
2012-07-16Send SCN_UPDATEUI with SC_UPDATE_SELECTION for backspace in virtual space. ↵nyamatongwe1-0/+1
Bug #3543121.
2012-07-16Fix rectangular selection range after backspace. Bug #3543097.nyamatongwe1-0/+1