aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
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
2011-06-07Make auto scrolling word wrap aware. Bug #3312763.Marko Njezic1-6/+2
2011-06-09Improved version of change set 3704. Bug #3312763.nyamatongwe1-23/+54
Make line selection word wrap aware but leave triple-click as selecting document line. From Marko Njezic.
2011-06-08Initialize visblePolicy and visibleSlop to fix bug #3303406.nyamatongwe1-0/+3
2011-06-07Call HiddenLines() only when needed.Marko Njezic1-1/+1
2011-06-06Fix line selection of wrapped lines. Bug #3312763.Marko Njezic1-23/+23
2011-06-07Make SCN_NEEDSHOWN notification work when word wrap is enabled.nyamatongwe1-1/+1
This fixes the last remaining issue from bug #3291579. From Marko Njezic
2011-06-03Fix problem with typing over multiple consecutive selections. Bug #3309906.Marko Njezic1-14/+27
2011-05-21Code formatting normalised to standard.nyamatongwe1-2/+2
2011-05-21Move Selected Lines Up / Down. Feature #3304850.nyamatongwe1-0/+63
From Olivier Dagenais.
2011-05-13Break measurement of text into reasonable sized segments similarnyamatongwe1-4/+4
to drawing. Drawing will now always be broken up at a character boundary even when there is a large number of alphabetic characters. Fixes bug #3165743.
2011-04-29Use indicators to show matching braces. Feature #3290434.nyamatongwe1-15/+59
From Marko Njezic.
2011-04-29Draw SC_IV_LOOKBOTH indent guides on first line if it is empty. Bug #3291317.nyamatongwe1-1/+2
From Marko Njezic.
2011-04-27Optimize fold marker highlight. Feature #3282649.nyamatongwe1-1/+3
From Jérôme LAFORGE.
2011-04-27Fold marker fixes for wrapped lines. Bug #3291579.nyamatongwe1-5/+18
From Marko Njezic.
2011-04-22INDIC_ROUNDBOX can set alpha of outline. Feature #3290434.nyamatongwe1-0/+10
From Marko Njezic.
2011-04-07Add highlighting of current folding block. Feature #3147069.nyamatongwe1-4/+46
APIs MarkerEnableHighlight and MarkerSetBackSelected. From Jérôme Laforge.
2011-04-07Update copyright year.nyamatongwe1-1/+1
2011-04-07Bug #3265401 changes to fold markers.nyamatongwe1-23/+28
Hide folding markers and indicator lines when a fold header does not have any subordinate lines to fold away. Do not contract an empty fold header when clicked on.
2011-04-05Avoid last cppcheck warning in Editor.cxx.nyamatongwe1-0/+2
2011-03-17Avoid drawing alpha rectangles that extend well before the left of thenyamatongwe1-1/+1
window as that causes allocation of large buffers on some platforms.
2011-02-28Avoid shadowed variables as reported by Xcode.nyamatongwe1-5/+4
2011-01-17Add SCI_SETMARGINCURSORN and SCI_GETMARGINCURSORN.jrxx1-2/+23
2011-01-12Ensure empty selection after delete word right.nyamatongwe1-0/+1
2011-01-10Fixing double-click inside word selecting non-word characters. Bug #3111174.nyamatongwe1-13/+57
A double-click on a visible character always selects that character and the word it is in. From Jordan Russell.
2011-01-02Ensure a SCN_UPDATEUI notification occurs when overstrike mode changed.nyamatongwe1-0/+1
2011-01-02Send SCN_UPDATEUI notification when view scrolled. Satisfies feature request ↵nyamatongwe1-6/+20
#3125977. Also includes an updated field in notification so that updates of no interest can be easily ignored.