Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-07-18 | Allow extreme ascenders and descenders to overlap into adjacent lines with | Neil | 1 | -9/+17 | |
multiple phase drawing option. | |||||
2014-07-17 | Refactored Drawline into separate methods for each aspect of drawing. | Neil | 1 | -10/+10 | |
Standardised order of arguments to drawing methods. | |||||
2014-07-15 | Implement separate timers for each type of periodic activity and turn them ↵ | Neil Hodgson | 1 | -5/+119 | |
on and off as required. This saves power as there are fewer wake ups. A tolerance value is provided so that platforms that support coalescing timers, Windows 8+ and OS X 10.9+, can use them. The previous global 100 millisecond timer may still be used by non-core platforms. | |||||
2014-07-08 | Split out EditModel, MarginView, and EditView classes into separate files. | Neil | 1 | -2295/+3 | |
2014-07-08 | Split parts of Editor class off into EditModel, MarginView, and EditView ↵ | Neil | 1 | -2308/+2369 | |
classes. | |||||
2014-07-08 | Changing further non-virtual methods to const where made possible by previous | Neil | 1 | -5/+5 | |
change. | |||||
2014-07-08 | Specifying some methods as const as they are used from display and measurement | Neil | 1 | -4/+5 | |
code that will be changed to have read-only access. | |||||
2014-07-07 | Fix bug where too many characters may be deleted when a rectangular selection is | Neil | 1 | -0/+1 | |
deleted. | |||||
2014-06-26 | Move decision to draw line end wrap marker and colour of marker to DrawEOL. | Neil | 1 | -17/+13 | |
Simplifies arguments to DrawEOL and shortens DrawLine. | |||||
2014-06-26 | Simplify DrawStyledText, extracting out DrawTextInStyle for re-use. | Neil | 1 | -21/+18 | |
2014-06-26 | Move calculation of line background colour to ViewStyle and represent as a | Neil | 1 | -53/+16 | |
ColourOptional to tightly bind the value with whether it is set. | |||||
2014-06-23 | Mark DrawBlockCaret as const since it only draws and does not affect Editor. | Neil | 1 | -1/+1 | |
2014-06-23 | Use Range type for hotspot to simplify manipulation. | Neil | 1 | -28/+20 | |
2014-06-22 | Stop storing a pointer to the selection on LineLayout objects where it may have | Neil | 1 | -5/+3 | |
a lifetime that is too long. Instead provide it as an argument to BreakFinder where it is only needed during intialisation. | |||||
2014-06-22 | Further use of const in layout and drawing. | Neil | 1 | -2/+2 | |
2014-06-22 | Always use the passed ViewStyle instead of the global one as this can cause | Neil | 1 | -10/+10 | |
problems when printing. | |||||
2014-06-22 | Drawing and measuring should not change ViewStyle which is set by the container | Neil | 1 | -25/+29 | |
so mark ViewStyle parameters as const. Provide a FontAlias copy constructor and use it to work around non-const Font arguments to Surface when sourced from const ViewStyle. | |||||
2014-06-16 | Fix crashes on Ubuntu 12.04 caused by overlay scrolll bar causing the drawing | Neil | 1 | -0/+7 | |
surface to be finished. | |||||
2014-05-24 | Header include statements are now in a standardised order with that order | Neil | 1 | -1/+1 | |
defined in scripts/HeaderOrder.txt. | |||||
2014-05-24 | Removing style byte indicators. | Neil | 1 | -61/+17 | |
2014-01-20 | Fix typos in comments (src) | Stefan Weil | 1 | -4/+4 | |
2014-05-12 | Split variable into two as used for different reasons. Use unsigned to avoid | Neil | 1 | -5/+4 | |
possibility of sign extension problems and to minimize type conversions. | |||||
2014-05-03 | Replacing the int-based constructors for Point and PRectangle with FromInts | Neil | 1 | -20/+20 | |
static methods as there were too many failures with mixed types and not-quite matching types. | |||||
2014-05-03 | Turn on MSVC 'possible loss of data' warnings and add explicit casts. | Neil | 1 | -378/+386 | |
2014-05-03 | Using casts and an alternate PRectangle constructor to make XYPOSITION <-> int | Neil | 1 | -3/+4 | |
conversions and other conversions more consistent. | |||||
2014-05-03 | Convenience Point constructor from integers as common source of shapes. | Neil | 1 | -3/+3 | |
2014-05-03 | Move RoundXYPosition to global header to enable use in more modules. | Neil | 1 | -4/+0 | |
2014-05-01 | Consolidate insertion for paste into Editor class and perform line end | Neil | 1 | -3/+36 | |
conversion in Editor. | |||||
2014-04-29 | Fix some warnings instead of relying upon #pragma to hide them | Neil | 1 | -1/+1 | |
2014-04-22 | Bug [#1593]. Fix drawing bug on Cocoa where previous caret lines were visible | Neil Hodgson | 1 | -4/+5 | |
due to using the visible area instead of the whole drawing area. | |||||
2014-04-22 | Hoisting some calculations into classes: ContractionState::DisplayLastFromDoc | Neil Hodgson | 1 | -26/+18 | |
Range::First and Range::Last. Changing Editor::RectangleFromRange arguments to a Range. Simplifying code and specifying some local variables as const. | |||||
2014-04-21 | View line state in margin with SC_FOLDFLAG_LINESTATE as an aid to debugging. | Neil | 1 | -8/+13 | |
2014-04-16 | Allow filtering of insertions. | Neil | 1 | -84/+110 | |
2014-04-15 | Bug [#1592]. Fix bug where caret remained invisible when period set to 0. | Neil | 1 | -1/+9 | |
2014-03-28 | Displaying Unicode line ends as [LS], [PS], and [NEL] blobs. | Neil | 1 | -4/+12 | |
2014-03-27 | Improve scrolling by performing styling in methods called before drawing ↵ | Neil Hodgson | 1 | -3/+17 | |
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-26 | Bug [#1588]. Round caret positions to the pixel grid instead of truncating. | Neil | 1 | -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-25 | Bug [#1586]. Automatic indentation wrong when caret in virtual space. | Neil | 1 | -0/+1 | |
2014-03-18 | Minor tweaks to avoid ststic checking warnings. | Neil | 1 | -1/+1 | |
2014-02-26 | Refactor methods for converting screen points to and from document index, ↵ | Neil | 1 | -78/+33 | |
moving code from Editor to LineLayout. | |||||
2014-02-02 | Added wrap mode SC_WRAP_WHITESPACE which only wraps on whitespace, not on ↵ | Neil | 1 | -1/+1 | |
style changes. From Robert Gieseke. | |||||
2014-01-21 | Added ELEMENTS macro and use it to clarify determining size of arrays. | Neil Hodgson | 1 | -3/+4 | |
2014-01-13 | Send SCN_UPDATEUI with SC_UPDATE_SELECTION for Shift+Tab inside text. | Neil | 1 | -0/+1 | |
2013-12-27 | Ensure caret is visible after scroll. | Neil | 1 | -2/+2 | |
2013-12-22 | Avoid unsafe strcpy, strncpy, and strcat replacing with safer functions which | Neil | 1 | -41/+26 | |
guaranty termination where possible. | |||||
2013-12-17 | Added DropSelectionN API. | Neil | 1 | -0/+5 | |
2013-12-15 | Make single argument constructors explicit to avoid unexpected conversions. | Neil | 1 | -3/+3 | |
2013-12-15 | Format normalization - whitespace and braces made consistent. | Neil | 1 | -8/+8 | |
Parameter names added to method declarations. | |||||
2013-12-10 | Bug [#1562]. Clickable area of hotspots was off by half a character width. | Christian Walther | 1 | -9/+13 | |
2013-12-03 | Bug [#1560]. Fix missing second one of adjacent indicators. | Christian Walther | 1 | -1/+4 | |
When there are two adjacent instances of the same indicator (but with different values), only the first of them was drawn. This is because when attempting to skip the gap between the first and second indicator, Editor::DrawIndicators would skip whatever run was there without checking whether it was actually a gap or already the next indicator. |