aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
AgeCommit message (Collapse)AuthorFilesLines
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.rel-1-44nyamatongwe1-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.
2001-12-19Patch from Philippe to show control characters as a particular characternyamatongwe1-19/+20
rather than as the default blobs.
2001-11-19Added virtual GetCtrlID method so that the ID can change dynamicallynyamatongwe1-1/+2
on Windoes when caused by SetWindowLong.
2001-11-16Added DeleteBackNotLine command.nyamatongwe1-1/+1
2001-10-28Fixed Platform changes for GTK+ and hid most of the implementation ofnyamatongwe1-5/+5
Surface.
2001-09-08Removed all traces of Win32 API from Scintilla API. Scintilla will nonyamatongwe1-1/+1
longer process WM_* or EM_* messages.
2001-09-01Using new SelectionText type to handle text that is the subject of copy,nyamatongwe1-16/+24
cut, paste and drag operations. Mouse wheel scrolling moved into platform subclasses. Macro support always included so MACRO_SUPPORT definition and use removed. Allowing menu popup moved from Editor to ScintillaBase.
2001-08-31Moved Windows-specific mouse wheel variables from Editor to ScintillaWin.nyamatongwe1-3/+0
2001-08-17Separate out the enforcement of the visibilty policy by having both annyamatongwe1-1/+1
EnsureVisible method and an EnsureVisibleEnforcePolicy method.
2001-08-10Typing makes the dwell not occur again until the mouse moves.nyamatongwe1-1/+1
2001-08-10Added PositionFromLocationClose which returns the position in the documentnyamatongwe1-2/+4
of a pixel location in the window but returns INVALID_POSITION if the location is outside the text area or not near text. Improvements to mouse dwell to make it only trigger when the mouse is up, use PositionFromLocationClose to calculate the position parameter, and send a dwell end if the user types.
2001-08-08Added mouse dwell feature.nyamatongwe1-0/+4
2001-08-07Ensured old code that does not know about outlining still gets visiblenyamatongwe1-0/+1
markers for subordinate headers as the top level header symbols are substituted.
2001-06-11Patch from Shane Caraveo at ActiveState to notify containers ofnyamatongwe1-1/+1
Unicode code characters correctly.
2001-04-29Addition of new target methods - versions of ReplaceTarget that take countednyamatongwe1-1/+3
strings to allow for nulls, SearchInTarget and Get/SetSearchFlags to use a series of calls rather than a structure. Handling of \000 in search and replace. Handling of /escapes within character ranges of regular expressions. Some handling of bare ^ and $ regular expressions.
2001-04-05Replace target functionality to make find and replace operations fasternyamatongwe1-0/+1
by diminishing screen updates and allow for \d patterns in the replacement text.
2001-04-04Target API for changing document withot visible changes: SetTargetStart,nyamatongwe1-0/+2
SetTargetEnd, and ReplaceTarget.
2001-03-31Added caret line feature.nyamatongwe1-0/+1
2001-02-24Patch from Jan Hercek to fix folding by using the display line rather thannyamatongwe1-1/+1
the document line when evaluating the visibility policy.
2001-02-24Updated documentation comments from Philippe.nyamatongwe1-15/+25
2001-02-17Defining sptr_t and uptr_t to be integral types large enough to containnyamatongwe1-2/+2
pointers to allow portability to 64 bit platforms.
2001-02-06Made SCI_CANPASTE and EM_CANPASTE work correctly usingnyamatongwe1-0/+1
IsClipboardFormatAvailable on Windows.
2001-01-27Much changed ScintillaGTK widget code that draws directly onto thenyamatongwe1-5/+3
Scintilla widget with no wDraw drawing area. Signals handled directly through callbacks.
2000-12-21Patch from James for SetVisiblePolicy.nyamatongwe1-0/+3
2000-11-30Patches from Stephan to slow down autoscrolling, exposednyamatongwe1-1/+3
MoveCaretInsideView as part of the API and did some other work on macros.
2000-11-08Changed keystroke handling so that GTK+ stops keys that are mapped tonyamatongwe1-1/+1
commands which allows them to propogate up to containers rather than requiring explicit propogation.