aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
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
2011-09-09Simplify some expressions which seem to cause failures.nyamatongwe1-2/+2
2011-09-09Merge with main repository.nyamatongwe1-4/+4
2011-09-04Cast to ensure comparison valid.nyamatongwe1-1/+1
2011-08-10Implement 'technology' concept which will allow GDI and Direct2D/DirectWritenyamatongwe1-20/+56
to run at the same time for different windows and operations.
2011-08-10Fix for wrong cursor near selection ends when scrolled horizontally. Bug ↵nyamatongwe1-3/+3
#3389055.
2011-08-08Fix tab positioning to make indent guides and tab characters align.nyamatongwe1-1/+1
2011-08-07Add a new XYACCUMULATOR which is more precise than XYPOSITION fornyamatongwe1-1/+1
keeping track over long lines. Using typedefs rather than #defines so goes into namespace.
2011-08-07Implement APIs for fractional font sizes and a range of weights.nyamatongwe1-2/+16
2011-08-02Allow floating point text positioning.nyamatongwe1-4/+6
2011-07-25Properly override background color when using alpha blended selections.Marko Njezic1-3/+5
Bug #3377116.
2011-07-19Added ScrollToStart and ScrollToEnd key commands for OS X.nyamatongwe1-0/+10
2011-07-02Folding related fixes. Initiated by bug #3323805.Marko Njezic1-95/+112
Make fold highlighting follow closely the actual folding implementation. Introduce a concept of fold headers with a tail to accommodate certain fold highlighting situations. Optimize PaintSelMargin(), so it doesn't waste time with fold markers, unless really necessary. Make EnsureLineVisible() find right parent, when called on whitespace line. Fix wrong fold tail marker when needWhiteClosure is true.
2011-06-27Fixed some "unsigned comparison with 0" warnings.nyamatongwe1-3/+3
2011-06-25Add casts to avoid warnings from SDK 64-bit compiler.nyamatongwe1-19/+29
2011-06-25Initial implementation of RGBA images.nyamatongwe1-0/+17
2011-06-20Properly highlight fold markers on sub lines. Bug #3323015.Marko Njezic1-5/+10
This complements fold markers highlighting change from revision 3619, which only fixed part of the problem. Changes from revision 3620 have been reverted, as they cause line to be drawn out of bounds and overlap with previously drawn marker above. They are also no longer needed, with this change.
2011-06-22Bug #3315756. Look at character under pointer to determine whethernyamatongwe1-1/+1
to display arrow (over selection) or I-beam. Previously used inter-character position instead of character.
2011-06-15Added SCMOD_META key modifier for the Control key on OS X.nyamatongwe1-3/+7
New version of KeyDown, KeyDownWithModifiers uses a mask of modifiers.
2011-06-14Fix edge line display on wrapped lines. Bug #3314807.Marko Njezic1-0/+2
2011-06-14Add SCI_SETEMPTYSELECTION. Feature #3314877.nyamatongwe1-0/+4
From Marko Njezic.
2011-06-13Added Identifier property.nyamatongwe1-0/+11
2011-06-13Moved marginOptions from ViewStyle to Editor as it is a behavioural option.nyamatongwe1-4/+5
2011-06-10Add an option to control how wrapped lines are selected when clicking on margin.Marko Njezic1-2/+9
2011-06-09Group inserted spaces in virtual space together with deletion. Bug #3159691.Marko Njezic1-1/+7