aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-01-20Fix typos in comments (src)Stefan Weil3-7/+7
2014-05-12Split variable into two as used for different reasons. Use unsigned to avoidNeil1-5/+4
possibility of sign extension problems and to minimize type conversions.
2014-05-03Replacing the int-based constructors for Point and PRectangle with FromIntsNeil5-70/+70
static methods as there were too many failures with mixed types and not-quite matching types.
2014-05-03Turn on MSVC 'possible loss of data' warnings and add explicit casts.Neil7-487/+496
2014-05-03Using casts and an alternate PRectangle constructor to make XYPOSITION <-> intNeil6-17/+18
conversions and other conversions more consistent.
2014-05-03Explicit and more consistent use of XYPOSITION versus int.Neil1-19/+19
Fixes possible loss of data warnings when switched on.
2014-05-03Convenience Point constructor from integers as common source of shapes.Neil3-14/+15
2014-05-03Add needed casts and remove a cast that is not needed.Neil1-3/+3
2014-05-03Using unsigned int for cache index to avoid casts and potential for failure.Neil1-4/+5
2014-05-03Move RoundXYPosition to global header to enable use in more modules.Neil1-4/+0
2014-05-02Use unsigned int for calculating hash and secondary probe as overflow of signedNeil2-3/+3
int is undefined in C++.
2014-05-01Consolidate insertion for paste into Editor class and perform line endNeil4-5/+49
conversion in Editor.
2014-04-29Stop disabling warnings where no longer needed.Neil2-10/+0
2014-04-29Fix some warnings instead of relying upon #pragma to hide themNeil1-1/+1
2014-04-29Feature [feature-requests:#1049]. Lexer added for DMIS, a language for ↵Neil1-0/+1
coordinate measuring machines. From Andreas Tscharner.
2014-04-25Allow overriding AbandonPaint by platform code.Neil1-1/+1
2014-04-22Bug [#1593]. Fix drawing bug on Cocoa where previous caret lines were visibleNeil Hodgson1-4/+5
due to using the visible area instead of the whole drawing area.
2014-04-22Hoisting some calculations into classes: ContractionState::DisplayLastFromDocNeil Hodgson5-27/+32
Range::First and Range::Last. Changing Editor::RectangleFromRange arguments to a Range. Simplifying code and specifying some local variables as const.
2014-04-21View line state in margin with SC_FOLDFLAG_LINESTATE as an aid to debugging.Neil1-8/+13
2014-04-16Allow filtering of insertions.Neil4-144/+179
2014-04-15Bug [#1592]. Fix bug where caret remained invisible when period set to 0.Neil2-1/+10
2014-03-28Displaying Unicode line ends as [LS], [PS], and [NEL] blobs.Neil1-4/+12
2014-03-27Improve scrolling by performing styling in methods called before drawing ↵Neil Hodgson2-3/+19
instead of inside drawing which then caused the drawing to be abandoned, and black blocks to appear on-screen. Discard responsive scrolling overdraw when that overdrawn content is invalid. Style just the visible area instead of the whole document when styling changes run beyond painting area.
2014-03-26Bug [#1588]. Round caret positions to the pixel grid instead of truncating.Neil1-4/+8
This may move the caret to the right 1 pixel in some situations. While sometimes this appears a little worse, on average it is slightly better than the precious code, with carets appearing inside the previous character less often.
2014-03-25Bug [#1586]. Automatic indentation wrong when caret in virtual space.Neil1-0/+1
2014-03-25Bug [#1585]. Cursor down fails on wrapped lines.Neil1-1/+2
2014-03-23Remove method no longer needed.Neil2-7/+0
2014-03-18Minor tweaks to avoid ststic checking warnings.Neil4-8/+8
2014-03-14Assembler lexer variant As(SCLEX_AS) for Unix assembly code which uses '#'Neil1-0/+1
for comments and ';' to separate statements. From nkmathew.
2014-03-11Remove function no longer called.Neil1-5/+0
2014-02-26Refactor methods for converting screen points to and from document index, ↵Neil3-78/+80
moving code from Editor to LineLayout.
2014-02-21Bug [#1577]. Deleting a whole line deletes the annotations on that line insteadNeil1-3/+3
of the annotations on the next line.
2014-02-20Reverse order of position adjustment so that calltips are more likelyNeil1-5/+5
to appear below text so lesss likely to cut off start of calltip.
2014-02-02Added wrap mode SC_WRAP_WHITESPACE which only wraps on whitespace, not on ↵Neil3-2/+5
style changes. From Robert Gieseke.
2014-01-30Bug [#1574]. Fix 3.3.8 bug where external lexers became inaccessible.Neil1-2/+3
2014-01-21Added ELEMENTS macro and use it to clarify determining size of arrays.Neil Hodgson4-21/+18
2014-01-21Implement new marker symbol SC_MARK_BOOKMARK.Neil Hodgson1-1/+12
2014-01-18With Direct2D draw circles with a 1 pixel larger radius to better matchNeil1-4/+4
other platforms and ensure for folding markers that the '+' or '-' do not touch the circle. Change order of drawing so that circles are drawn after connecting lines so overwrite any tails.
2014-01-18For SC_MARK_ARROWS, scale the arrows to fit the line height.Neil1-4/+6
Avoid drawing one arm of each arrow longer than the other on Cocoa. The weight of the strokes is more uniform on Windows/Direct2D and Cairo.
2014-01-14CallTipSetPosStart API added.Neil1-0/+4
2014-01-13Send SCN_UPDATEUI with SC_UPDATE_SELECTION for Shift+Tab inside text.Neil1-0/+1
2014-01-02Use a std::map for KeyMap to avoid custom iteration in favour of standardNeil2-18/+21
provided functionality.
2013-12-27Ensure caret is visible after scroll.Neil1-2/+2
2013-12-22Avoid unsafe strcpy, strncpy, and strcat replacing with safer functions whichNeil5-45/+36
guaranty termination where possible.
2013-12-22Switch from char[] to std::string for simplicity and safety.Neil2-11/+7
2013-12-22Drop unused field 'name' and minimize scope of variable.Neil2-9/+4
2013-12-17Added DropSelectionN API.Neil3-0/+21
2013-12-15Make single argument constructors explicit to avoid unexpected conversions.Neil13-21/+21
2013-12-15Format normalization - whitespace and braces made consistent.Neil15-44/+52
Parameter names added to method declarations.
2013-12-10Bug [#1562]. Clickable area of hotspots was off by half a character width.Christian Walther1-9/+13