aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.mm
AgeCommit message (Collapse)AuthorFilesLines
2023-09-27Bug [#2402]. Fix invisible text on macOS 14 Sonoma when building with Xcode 15.Chinh Nguyen1-0/+3
2023-09-27Deprecated methods disableFlushWindow and enableFlushWindow are avoided onNeil Hodgson1-4/+11
macOS 10.14+. Test application contains example calls that exercize this when available.
2023-02-27Remove unnecessary casts from CGFloat to XYPosition as they are both double.Neil Hodgson1-2/+2
2023-02-26Remove deprecated setOnMouseEntered calls.Neil Hodgson1-2/+0
They do not appear to be needed since SCIMarginView does not have a mouseEntered method and SCIContentView receives mouseEntered anyway because of its tracking area.
2023-02-24Replace deprecated graphicsPort API with current CGContext.Neil Hodgson1-1/+1
2023-02-24On macOS 10.13+, use new NSPasteboardTypeFileURL type to receive files draggedNeil Hodgson1-1/+9
onto Scintilla but continue using NSFilenamesPboardType on older systems.
2023-02-23Replace deprecated colorUsingColorSpaceName with current colorUsingColorSpace.Neil Hodgson1-5/+4
2023-02-22Replace deprecated NSStringPboardType with current NSPasteboardTypeString.Neil Hodgson1-1/+1
2022-01-13Feature [feature-requests:#1425] Allow Scintilla to run if built without ↵Christian Schmitz1-0/+2
cursor images.
2021-12-01Bug [#2292] Better fix to draw margin means drawHashMarksAndLabelsInRect called.Chinh Nguyen1-1/+1
2021-11-30Bug [#2292] Fix bug where margin would not draw when scrolled.Rowan Daniell1-0/+4
2021-09-01Bug [#2273] Fail compilation if ARC not enabled.Neil Hodgson1-0/+4
2021-08-05Log warning if images don't load.Neil Hodgson1-2/+10
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-59/+68
and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal.
2021-05-10Implement UpdateBaseElements on Cocoa to update colours to match current systemNeil Hodgson1-0/+25
settings. Trigger UpdateBaseElements when system settings change. This makes Scintilla (by default) track the correct tint to show as the selection background.
2021-05-09Change first responder / active handling so only treating as focussed whenNeil Hodgson1-2/+2
both active and first responder. This has no visual effect yet but allows greying the selection when not focussed.
2021-04-02Bug [#2238]. Fix drawing in revealed area after enlarging window.Petko Georgiev1-0/+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-7/+7
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil1-0/+1
2019-12-13Add or fix file name comments.Neil1-0/+1
2019-06-30Bug [#2038]. Source of input reported in SCN_CHARADDED.Zufu Liu1-4/+4
This may be SC_CHARACTERSOURCE_DIRECT_INPUT, SC_CHARACTERSOURCE_TENTATIVE_INPUT, or SC_CHARACTERSOURCE_IME_RESULT.
2019-06-24On Cocoa, stop internal failures for missing fonts.Neil Hodgson1-3/+5
Avoid propagating terminating NULs from SCI_STYLEGETFONT and SCI_TARGETASUTF8.
2019-06-23Feature [feature-requests:#1297] Fixed one INDIC_IME forgotten in 7594.Neil Hodgson1-1/+1
2019-06-22Feature [feature-requests:#1297] Update to use INDICATOR_ instead of INDIC_ asNeil1-4/+4
INDIC_ is also used for indicator styles.
2019-03-25Use generic std::abs instead of abs and fabs.Neil1-1/+1
2019-03-25Use generic versions of ceil, floor, round, lround, trunc from <cmath>.Neil1-4/+6
2019-01-06Bug [#2022]. Fix incorrect horizontal offset on macOS 10.14 Mojave.Chinh Nguyen1-1/+24
2018-08-16For reverse arrow margin cursor, move hotspot to the tip of the arrow.Neil Hodgson1-1/+1
This fixes a bug where clicking seemed to affect the wrong margin.
2018-06-07Update Cocoa enumerations to current names instead of deprecated names.Neil Hodgson1-3/+3
2018-05-18Add <vector> to files that include Platform.h as likely needed in future.Neil1-0/+1
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil1-0/+2
2018-04-22Fix problems with 64-bit positions by using types that expand to 64-bits andNeil Hodgson1-3/+3
removing casts to int.
2017-09-18Bug [#1885]. Improve scrolling on macOS 10.12.Neil Hodgson1-8/+15
2017-07-18Bug [#1958]. Make doCommandBySelector work but avoid double effect of 'delete'Neil Hodgson1-4/+7
key.
2017-06-08Indented consistently by using astyle.Neil1-1348/+1146
2017-06-07Use property dot syntax.Neil Hodgson1-57/+57
Part of modernization.
2017-06-07Using modern Objective C literals and indexing.Neil Hodgson1-13/+12
2017-06-07Using instancetype for constructors.Neil Hodgson1-2/+2
2017-06-05Converted to Automatic Reference Counting.Neil Hodgson1-30/+17
2017-04-22Restrict cursor changing to visible bounds so the text area cursor doesn't showNeil1-1/+2
over other views above and below ScintillaView.
2017-04-22Fix a leak of mouse tracking areas.Neil Hodgson1-0/+4
2017-04-15Avoid calling virtual functions in destructor. Mark overridden methods.Neil Hodgson1-0/+1
2017-03-04Fix error with showing find indicator over styles > 127.Neil Hodgson1-1/+3
2017-03-02Fix potential problems with IME on Cocoa when document contains invalid UTF-8.Neil1-0/+1
2017-03-02Bug [#1881]. Revert part of previous fix as it stopped the accented characterNeil1-1/+11
chooser from appearing. Special-case the Chinese "Cangjie" input source.
2017-02-25Bug [#1915]. Fix crash on OS X 10.9 due to accessibility API not available.Chinh Nguyen1-7/+11
2016-12-08Bug [#1891]. Fix crash on view destruction with macOS 10.12.2.Chinh Nguyen1-0/+1
2016-11-23Implementation of MarginRightClick event.Tse Kit Yam1-3/+29