aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
2012-04-14Remove unused WhiteSpace get/set. Feature #3517596.nyamatongwe1-8/+0
From Marko Njezic.
2012-04-13Include wrap indentation in alpha selection when selecting whole lines. Bug ↵Marko Njezic1-0/+4
#3515555.
2012-04-12Avoid drawing alpha selection into wrap indentation area. Bug #3515555.nyamatongwe1-1/+1
2012-04-12Bug #3514882. Fix recent change set 4086 which caused selection to end of a ↵nyamatongwe1-1/+2
wrapped subline to continue 1 pixel into the next subline. From Marko Njezic.
2012-04-11Bug #3514882. Properly draw translucent whole line states, by respecting rightnyamatongwe1-9/+9
margin and also not going out of bounds. Don't go out of bounds into right margin when drawing beyond EOF area. From Marko Njezic.
2012-04-11Bug #3514882. Properly determine last line that needs to be styled beforenyamatongwe1-2/+2
painting by calling StyleToPositionInView() after style data is refreshed, so that PositionAfterArea() can use the correct line height in calculation. This problem was introduced in change set 3259. From Marko Njezic.
2012-04-11Bug #3514882. Stop invalidating pixmapLine (and indirectly pixmapSelMargin)nyamatongwe1-1/+0
unnecessary on each call to Paint(). This was added in change set 2688 as part of a fix for resource leaks problem in palette mode, which doesn't exist anymore. From Marko Njezic.
2012-04-06Remove unused variable.nyamatongwe1-1/+0
From Marko Njezic.
2012-04-06Bug #3513946. Make printing work when Direct2D is used for on screen drawing.nyamatongwe1-2/+5
This will stop Scintilla from crashing. From Marko Njezic.
2012-03-31Make MoveSelectedLines() work properly when there's no newline at EOF. Bug ↵Marko Njezic1-8/+25
#3511023.
2012-04-03Moved wrap indent code to wrapping branch.nyamatongwe1-11/+6
2012-03-31Bug #3512961. Word wrap indentation for print using positions calculated fornyamatongwe1-10/+11
display instead of printer.
2012-02-29Always record undo action for Ctrl+DUnknown1-1/+1
2012-03-01Bug #3494492. Change aveCharWidth in FontMeasurements to actually storenyamatongwe1-2/+2
fractional width. This change complements change set 3994. Make WidthText() and AverageCharWidth() actually return fractional widths under Direct2D. From Marko Njezic.
2012-02-29Bug #3493503. Clip drawing operations to the painting area when using unbufferednyamatongwe1-5/+10
mode. This prevents parts of margin being drawn out of bounds. Don't set clipping region when buffered mode is used, as it is not necessary. From Marko Njezic.
2012-02-27Feature #3493530. Reduce amount of redrawing triggered by ↵nyamatongwe1-2/+3
SCI_MARKERSETBACKSELECTED and SCI_MARKERENABLEHIGHLIGHT. From Marko Njezic.
2012-02-25Bug #3493503. Properly redraw image markers with height larger than line height.Marko Njezic1-1/+17
Regression from change set 3949.
2012-02-17Draw markers horizontally off center only on textual margins. Bug #3488696.Marko Njezic1-1/+1
2012-02-18Wrap lines if needed when moving to a position. Bug #3487397.nyamatongwe1-3/+7
From Marko Njezic.
2012-02-07Respect virtual space in ButtonDown/ButtonUp and prevent random behavior ofMarko Njezic1-23/+29
ctrl+click in margin in certain cases. Bug #3484370.
2012-02-09Fix rounding issue in SPositionFromLocation() that started with introduction ofMarko Njezic1-1/+1
fractional positioning. Bug #3485669.
2012-02-08Fix spurious extra indentation guide at end of indentation caused by changenyamatongwe1-9/+17
to fractional positioning.
2012-02-04Make priority wrap actually process all displayed document lines. Bug #3484179.Marko Njezic1-0/+6
2012-02-04Properly highlight EOL blobs. Bug #3484330.Marko Njezic1-16/+20
2012-01-30Fix cursor up/down movement on wrapped lines and lines with annotations.Marko Njezic1-13/+33
Bug #1776560.
2012-02-03Fix crash in wrap mode with DirectWrite when wrapping added text beforenyamatongwe1-0/+1
fonts realised.
2012-01-24Redraw all of fold margin for fold margin highlight. Bug #3469936.nyamatongwe1-1/+1
From Marko Njezic.
2012-01-23Avoid laying out beyond end of document. Bug #3476637.nyamatongwe1-1/+1
2012-01-18Add fractional positioning support to some of the remaining places.Marko Njezic1-3/+3
This improves sub-pixel alignment when drawing control characters, indicators and whitespace dots.
2012-01-18Change wrapIndent, wrapAddIndent, aveCharWidth to support fractional values.Marko Njezic1-11/+12
This improves sub-pixel alignment of indented wrapped lines and sub-pixel positioning that uses aveCharWidth in calculations. Added type casts to certain places to make it clear that loss of precision occurs due to assignment of float to int.
2012-01-18Add fractional positioning support in wrapped lines to certain methods.Marko Njezic1-40/+7
This fixes off by one errors that can happen in some cases. Simplify Editor::PositionFromLineX() method.
2012-01-12Fix extra carets in wrapped text under DirectWrite. Bug #3471998.nyamatongwe1-2/+2
2011-12-15Replaced explicit mask test with getter method.nyamatongwe1-2/+2
2011-12-13Use fractional tabWidth on both sides of expression to avoid double sizenyamatongwe1-2/+2
tabs on wide lines.
2011-12-13Allow non-integral space width. From Jason Haslam.nyamatongwe1-16/+16
2011-12-10Don't select into virtual space for SCI_LINESCROLLDOWN/UP. Bug #3451681.nyamatongwe1-2/+4
2011-12-02Fix display of margins on GTK+. Were appearing red when scrollingnyamatongwe1-3/+3
as they were copying from the start of the pixmap instead of where the drawing occurred. Caused by optimized drawing in changeset 3949. Also ensured whitespace fold tails displayed correctly.
2011-12-01Fixed version of last patch: protected range delete.nyamatongwe1-2/+2
2011-12-01Stop backspace destroying protected range. Bug #3445911.nyamatongwe1-1/+1
From Averk.
2011-11-30Clip margin drawing to the paint area.nyamatongwe1-2/+9
2011-11-16Bug #3283519. CountCharacters added to count the number ofnyamatongwe1-0/+3
characters between two positions. From Andrey Moskalyov.
2011-11-03Ensure graphics allocated before painting.nyamatongwe1-0/+1
2011-10-26Implement ILoader interface so that clients can load documents fromnyamatongwe1-0/+10
background threads.
2011-10-10Fix for wrong line heights when using annotations and wrapping. Bug #3388159.nyamatongwe1-5/+17
2011-09-25Palette support removed.nyamatongwe1-145/+126
2011-09-24Merged fractional text positioning branch.nyamatongwe1-27/+79
2011-09-23Optimized MarkerNext so it can be much faster when no marker ever setnyamatongwe1-8/+2
and a little faster when markers have been used.
2011-09-23Optimize scrolling a long way by not invalidating fold margin if goingnyamatongwe1-2/+6
to invalidate everything.
2011-09-23Add GetAllLinesVisible method as this can be used to minimize folding overhead.nyamatongwe1-0/+3
2011-09-09Simplify some expressions which seem to cause failures.nyamatongwe1-2/+2