aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
2021-05-05Redraw when focus changes. Move hasFocus to EditModel where it can be used forNeil1-1/+4
drawing more easily.
2021-04-27Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterTypeNeil1-2/+2
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both.
2021-04-26Avoid some warnings.Neil1-6/+6
2021-04-26Extract related groups of fields out of ViewStyle into new structs.Neil1-38/+38
Size of ViewStyle makes it more difficult to understand and this helps a bit.
2021-04-26Move hotspotSingleLine from ViewStyle to EditModel as it defines behaviour, notNeil1-4/+4
appearance.
2021-04-25Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil1-37/+37
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired.
2021-04-20Bug [#2027]. Implement font locale SCI_SETFONTLOCALE on Win32 using DirectWrite.Neil1-0/+10
2021-04-15Bug [#2234]. Remove method that is no longer called.Neil1-4/+0
2021-04-05Extract unnamed caching enum as LineLayoutCache::Cache and change to enum class.Neil1-2/+2
2021-04-05Extract CharClassify::cc as CharacterClass and change to enum class.Neil1-6/+6
2021-04-05Change IndentView, WhiteSpaceVisibility, and TabDrawMode to enum class.Neil1-4/+4
2021-03-29Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements.Neil1-0/+18
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists.
2021-03-27Add APIs for setting translucency and stroke width of markers.Neil1-4/+28
2021-03-27Add API for setting stroke width of indicators.Neil1-0/+13
2021-03-20Use Surface::AllocatePixMap instead of changing an existing surface withNeil1-23/+13
InitPixMap. Changed DropGraphics from releasing surfaces to deleting them. This simplifies code and the added cost of allocating a new Surface is small.
2021-03-19Add an explicit FlushDrawing method to Surface that should be called afterNeil1-0/+1
completing a bitmap. Currently only has a real implementation on Direct2D. Avoiding implicit flushes inside Copy and FillRectangle produced a 23% speed improvement on files with about 1 indentation guide per line as the drawing pipeline was being flushed for each indentation guide.
2021-03-19Implement PopClip to allow local clipping.Neil1-0/+5
2021-03-19Add Platform::Supports for SupportsFeature API.Neil1-2/+3
2021-03-19Switch enum to enum class.Neil1-160/+173
2021-03-19Add SupportsFeature API but leave empty for now with no features defined.Neil1-0/+7
2021-03-18Make Surface::Release and callers (where possible) noexcept.Neil1-1/+1
2021-03-18Use unique_ptr for CaseFolderForEncoding to show transfer of ownership.Neil1-2/+2
2021-03-18std::optional is a basic vocabulary type that may be used widely so includeNeil1-0/+1
almost everywhere.
2021-03-18Move assert and debug trace functions into their own header Debugging.h.Neil1-0/+1
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules.
2021-03-17Change Window::Cursor to an enum class.Neil1-9/+9
2021-03-17Change Font to an interface and stop using FontID. Fonts are shared andNeil1-1/+1
reference counted using std::shared_ptr. This optimizes memory and reduces potential for allocation bugs.
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil1-0/+1
2020-08-25Move SCI_MULTIEDGEADDLINE impleemntation into ViewStyle as it is too complex forNeil1-12/+4
switch case in Editor.
2020-08-25Feature [feature-requests:1350]. Add SCI_GETMULTIEDGECOLUMN.Derek Brown1-4/+21
2020-08-11Bug [#2193]. Fixed bug where hovered indicator was not returning to non-hoveruhf71-0/+1
when mouse over selection.
2020-08-04Bounds checking for SetSelectionN* APIs.Mitchell Foral1-0/+3
2020-08-03Use const. Use separate lines for variable declarations.Neil1-3/+5
2020-08-03Bug [#2193]. Fixed bug where hovered indicator was not returning to non-hoveruhf71-0/+2
appearance when mouse moved out of window or into margin.
2020-07-16Make WrapMode an enum class for more type safety.Neil1-4/+4
2020-07-16Rename validLevel to ValidLevel and make an enum class.Neil1-4/+4
2020-07-16Make AddNumber an enum class for more type safety.Neil1-3/+3
2020-07-16Use enum class for selectionUnit (previously selectionType) for more type ↵Neil1-31/+31
safety.
2020-07-16Add some const, constexpr.Neil1-1/+1
2020-07-15Feature [feature-requests:1368]. Add BraceMatchNext API.Zufu Liu1-1/+4
2020-07-11Feature [feature-requests:1369]. Represent DEL control character 0x7f with DEL.Zufu Liu1-0/+1
2020-06-17Feature [feature-requests:1361]. Allow caret width to be up to 20 pixels.Neil1-1/+1
2020-06-12Bug [#2141]. Implement end of line annotations.Prakash Sahni1-0/+50
2020-06-10Feature [feature-requests:1355]. Round instead of truncating for SCI_TEXTWIDTH.Neil1-3/+3
2020-04-08Feature [feature-requests:1344]. Add methods for iterating through the markerIain Clarke1-0/+6
handles and marker numbers on a line.
2020-04-05Perform autoscroll when mouse on pixel just below window.Mitchell Foral1-1/+1
This mostly helps the curses platform where a line of text is a single 'pixel'.
2020-03-26Fix spelling mistakes.Neil1-4/+4
2020-02-29Add const and noexcept where they make sense.Neil1-4/+4
2020-02-27Feature [feature-requests:497] Structure caret policy data and pass policy forNeil1-62/+50
dragging instead of manipulating global state..
2020-02-21Feature [feature-requests:497] Automatically scroll while dragging text.McLoo1-0/+14
Added automatic scrolling when text dragged near edge of window.
2020-02-15Bug [#2138]. Potential fix to Direct2D crash when updating driver.Mat Berchtold1-1/+7