aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
AgeCommit message (Collapse)AuthorFilesLines
2003-11-06SelectionText has been holding a terminating NUL but some client codenyamatongwe1-0/+2
was adding an extra NUL. Documented this and avoid adding extra NUL.
2003-11-05Background wrapping during idle from Bruce Dodson.nyamatongwe1-0/+1
2003-10-27Patches from Roy Wood:nyamatongwe1-1/+1
Word movement to end of word. Stuttered page movement. User defined keyboard accelerators on GTK+.
2003-10-09Fixes to Autocomplete crash from Philippe.nyamatongwe1-2/+3
2003-10-03Rectangular selection by keyboard from Philippe.nyamatongwe1-8/+13
2003-09-20Patch from Naba to perform incremental wrapping in idle time.nyamatongwe1-3/+3
2003-09-18Safe parts of idle time wrapping.nyamatongwe1-0/+15
2003-05-11Addition of CopyText, CopyRange, and LineCopy.nyamatongwe1-0/+17
2003-04-29Made DisplayCursor virtual so could be overridden by GTK+ platform code.nyamatongwe1-1/+1
2003-03-20Patch from Simon Steele to implement the hotspot style and associatednyamatongwe1-1/+16
notifications.
2003-03-09Added Pango text display support to GTK+ platform.nyamatongwe1-35/+40
Added WindowID parameter to all Surface initialisation methods as Pango requires a window to determine the context used for text functions. AutoSurface changed because of above to take an Editor* argument so it can then discover the code page and window.
2003-02-15Updating version numbers and copyright.nyamatongwe1-1/+1
2003-02-14May have fixed a problem with wrapping where an added character isnyamatongwe1-0/+1
initially in style 0 and so is narrower than its real styled width. So moved the wrapping until after the styling. Pixmap setup moved out of Paint into a separate method. Shortening of fold margin colour code.
2003-02-09Join and Split lines methods.nyamatongwe1-1/+3
Method to copy selection end points to target.
2003-02-09Protected style fixed in several ways.nyamatongwe1-0/+2
Method to determine cheaply if protection turned on at all. Caret movement doesn't skip over text outside protected range. Methods for deciding if a range or the selection contains protected text. Several deletion commands perform no action if they would delete protected text. Two phase drawing no longer draws invisible text.
2003-02-02Hoisted drawing of EOL into method so can avoid overwriting lastnyamatongwe1-0/+3
character in two phase mode.
2003-02-02Two phase drawing.nyamatongwe1-0/+5
2003-01-12Additions from Yukihiro Nakai to enable DBCS mode on GTK+.nyamatongwe1-4/+8
DBCS mode for Surface so that different font and text drawing code can be invoked on GTK+.
2003-01-01Changed wrapped printing to be more similar to wrapped display.nyamatongwe1-1/+1
2003-01-01Fixed up line wrapped printing and added property to turn wrapping on ornyamatongwe1-0/+1
off for printing.
2002-12-20Added moveThumb argument to ScrollTo to allow smoother manipulation ofnyamatongwe1-1/+1
thumb on GTK+
2002-11-17Jakub Vrána has added a CSS (Cascading Style Sheet) lexer to Scintilla.nyamatongwe1-0/+1
This is separate to the HTML lexer and is only invoked for stand-alone CSS files, not for the STYLE section of HTML files. He also made some other additions. There is a Line Duplicate command which is bound to Ctrl+D. PHP lexing has been improved.
2002-09-19Added mthod to turn off vertical scroll bar.nyamatongwe1-0/+1
2002-08-02Added keyboard commands to go to start and end of display lines.nyamatongwe1-1/+2
2002-08-02Made Ctrl+Up and Ctrl+Down not flicker when using strict caret policy.nyamatongwe1-2/+2
Avoided by not calling EnsureCaretVisible for these keys.
2002-07-28Added new line cache validity level between invalid and positions correctnyamatongwe1-1/+2
for when some text or style may or may not have been changed. Allows optimization of the common case where a modification only changes the style of a small range of the document.
2002-07-11Patch from Philippe to improve caret policy.nyamatongwe1-9/+12
2002-04-21Some Win64 compatibility and size_t correctness.nyamatongwe1-3/+3
2002-04-14Implemented endAtLastLine attribute which allows option of scrolling onenyamatongwe1-0/+1
page below last document line.
2002-04-12Fixed problem where caret would not move to previous line due to wrapping.nyamatongwe1-0/+1
2002-04-07Added ZOOM notification. Added TextWidth method to allow clients to ↵nyamatongwe1-0/+2
determine width of text items such as width needed for line numbers.
2002-04-04Change to horizontal scrolling to allow the assumed document width to be set.nyamatongwe1-0/+1
2002-04-04Improved caret movement in read-only mode by handling more cases where text ↵nyamatongwe1-0/+1
is inserted and be removing handling of cases where text is deleted as these are handled automatically in the modification listener.
2002-03-04Fixed bug when switching buffers led to stale line layout cache entriesnyamatongwe1-1/+1
by deallocating the cache when switching buffers. When number of lines decreases, line layout cache entries for extra lines are deleted.
2002-03-04Fixed problem in wrapped mode where cursor up would not move because fornyamatongwe1-2/+2
a position that was at the end of a subline, and thus also the beginning of the next subline LocationFromPosition was favoring the end of subline. Treat a cached wrapping as invalid if the current wrap width is different to when the wrapping was done.
2002-03-01Fixed problem where brace highlights were remembered in line layout cache.nyamatongwe1-0/+4
2002-02-28Made number of display lines for a document line be dynamic.nyamatongwe1-6/+18
2002-02-28Line layout cache feature added.nyamatongwe1-10/+49
2002-02-04Changed line length limit to 8000 to avoid stack exhaustion.nyamatongwe1-1/+1
Changed date of 1.44 release.
2002-01-24Fixed problem with ensuring the caret is visible hen it is on a wrappednyamatongwe1-0/+1
line.
2002-01-18Updated copyrights for 2002.nyamatongwe1-1/+1
2002-01-16WrapLines performs scroll bar and top line maintenance.nyamatongwe1-1/+1
WrapLines called before ensuring a lin eis visible so doc<->visible mapping correct. When modification changes number of lines, NeedWrapping starts one line before. Horizontal scrolling disallowed even more when in wrap mode.
2002-01-13Added TickerID typedef to ease merging FOX code.nyamatongwe1-1/+1
2002-01-10Patch from Kengo Jinno to make Japanese entry work on Windows 9x.nyamatongwe1-1/+1
More changes from Neil to avoid problem introduced by above with overstrike mode replacing one character with two. Comments about Digital Mars ifdefs.
2002-01-09Work on line wrapping.nyamatongwe1-2/+3
Rather than storing a needWrap flag, there is now a record of the last line wrapped, so if a change requires some rewrapping then the wrapping is only performed for the line of the change and subsequent lines. If a change in styling spills off the end of a line, such as occurs by starting a multiline comment, that style change may change the width of subsequent text so rewrapping is performed. When window resized, rewrap only done when width changed as resize may be only vertical.
2001-12-20Patch from stephan to avoid setting cursor to the same value multiplenyamatongwe1-0/+2
times on GTK+ as it is retained by the window. Minor cleanups.
2001-12-20Increased allocations for laying out and wrapping lines to allow 16000nyamatongwe1-2/+2
characters and 400 lines. Optimised display by reusing a LineLayout for all the visible lines of a document line. Fixed some processing of multi-byte and UTF-8 characters so that, for example, performing a rectangular selection does not select partial characters.
2001-12-19Wrapping supported.nyamatongwe1-3/+19
2001-12-19Hoisted IsUnicodeMode method from ScintillaWin to Editor as it is useful onnyamatongwe1-2/+4
all platforms. Using AutoSurface to simplify allocation of surfaces and ensure they are always deleted.
2001-12-19Added AutoSurface class which is a smart pointer that ensures correctnyamatongwe1-0/+32
deallocation of Surface objects.