aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
2002-04-03Enhancements to read-only mode to stop caret moving when typing or deleting.nyamatongwe1-10/+15
2002-03-04Fixed bug when switching buffers led to stale line layout cache entriesnyamatongwe1-1/+8
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-13/+13
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-04Fixed Borland warning.nyamatongwe1-4/+4
2002-03-01Fixed problem where brace highlights were remembered in line layout cache.nyamatongwe1-21/+47
2002-02-28Made number of display lines for a document line be dynamic.nyamatongwe1-34/+45
2002-02-28Line layout cache feature added.nyamatongwe1-323/+561
2002-02-12Avoid extra processing if SETHSCROLLBAR used to set to same value asnyamatongwe1-3/+5
before.
2002-02-09Removed unused variable.nyamatongwe1-3/+0
2002-02-07After rectangular paste, caret is left at initial position.nyamatongwe1-1/+1
2002-02-03Patch to ensure caret on after mouse wheel scroll or pressingnyamatongwe1-6/+6
End when already at line end.
2002-02-03When changing document, ensured rewrap performed.nyamatongwe1-0/+1
Made memory allocation a little safer in ContractionState.
2002-01-27Fixed wrapping problems with displaying visible space characters onnyamatongwe1-3/+4
sublines after the first and with showing selected EOLs on sublines before the last.
2002-01-25Removed performance tracing as it cused a divide by zero for Carl.nyamatongwe1-8/+8
2002-01-24Fixed problem with ensuring the caret is visible hen it is on a wrappednyamatongwe1-1/+20
line.
2002-01-24Added parameter to WordStartPosition / WordEndPosition to indicate thatnyamatongwe1-2/+2
only word characters should be considered parts of words.
2002-01-23Performs a rewrap when zoom changed.nyamatongwe1-0/+3
2002-01-18Updated copyrights for 2002.nyamatongwe1-1/+1
2002-01-16WrapLines performs scroll bar and top line maintenance.nyamatongwe1-12/+19
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-10Made code bool-safe and turned Visual C++ warning 4800 back on.nyamatongwe1-42/+42
2002-01-10Patch from Kengo Jinno to make Japanese entry work on Windows 9x.nyamatongwe1-28/+33
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-18/+33
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-26When a paint is abandoned because there is a change in styling outside thenyamatongwe1-0/+3
painting rectangle, and line wrapping is on, the needWrap flag is set because the restyled text may be thinner or thicker and hence require different wrapping.
2001-12-23Fixed bug where changing to wrap mode when horizontally scrolled led tonyamatongwe1-0/+1
that sroll amount being kept with no way to return it to 0. Now setting to wrap mode sets the x offset to 0.
2001-12-23Fixed MovePositionSoVisible so that when navigating with arrow keys, thenyamatongwe1-4/+4
caret will move over folds correctly.
2001-12-20Unicode and multi-byte fixes to edge display and column number calculation.nyamatongwe1-5/+14
Tab arrows are drawn within their areas when line height is large.
2001-12-20Increased allocations for laying out and wrapping lines to allow 16000nyamatongwe1-5/+11
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-20Added changeable attribute to styles that defaults to true. When it isnyamatongwe1-2/+8
false, text in this style is read only.
2001-12-19Fixed some warnings from Borland.nyamatongwe1-3/+2
2001-12-19Wrapping supported.nyamatongwe1-124/+334
2001-12-19Fixed the last X click position to be within the text when the click isnyamatongwe1-0/+3
past the end of the line.
2001-12-19Fixed, regularised and simplified movement of brace highlights andnyamatongwe1-41/+31
selection when insertions and deletions are performed.
2001-12-19Hoisted IsUnicodeMode method from ScintillaWin to Editor as it is useful onnyamatongwe1-41/+22
all platforms. Using AutoSurface to simplify allocation of surfaces and ensure they are always deleted.
2001-12-19Patch from Philippe to show control characters as a particular characternyamatongwe1-38/+59
rather than as the default blobs.
2001-12-01Display optimisations.nyamatongwe1-78/+75
When horizontally scrolled on Windows, an extra message turns up to say the scrolling has ended. Now has no effect as new scroll position compared to old and processing only occurs if different. Avoid working on line segments that are before horizontal visible range. Guards against working on line segments that are outside visible range horizontally applied to tabs and control characters as well as text.
2001-11-16Added DeleteBackNotLine command.nyamatongwe1-15/+26
2001-11-08Added methods for finding the start and end of words.nyamatongwe1-0/+6
2001-11-06Memory leak fixed in calltips and better casts when returning pointers.nyamatongwe1-2/+2
2001-10-31Patch from John to ensure selection is maintained in secondary viewsnyamatongwe1-1/+1
upon deletions.
2001-10-28Hid implementation of Surface.nyamatongwe1-3/+3
Changed DrawText to DrawTextNoClip to avoid name clash with macro.
2001-10-28Fixed Platform changes for GTK+ and hid most of the implementation ofnyamatongwe1-90/+126
Surface.
2001-10-28Removed platform-specific headers from Platform.h and thus stoppednyamatongwe1-28/+28
visibility of these headers to most code.
2001-10-26Ensured no flashing when selecting by words and direction is changed.nyamatongwe1-1/+1
2001-10-13Deprecated SCN_CHECKBRACE and SCN_POSCHANGED.nyamatongwe1-0/+1
2001-10-02Patch from Mark to make the x offset accessible through the API.nyamatongwe1-0/+8
2001-09-24Patch from Stephan for the SC_MARK_BACKGROUND marker.nyamatongwe1-8/+25
2001-09-08Handle SCI_HIDESELECTION message.nyamatongwe1-0/+5
2001-09-08Removed all traces of Win32 API from Scintilla API. Scintilla will nonyamatongwe1-242/+6
longer process WM_* or EM_* messages.
2001-09-07Marker can be any character.nyamatongwe1-1/+1
2001-09-01Using new SelectionText type to handle text that is the subject of copy,nyamatongwe1-83/+34
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.