aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/ScintillaGTK.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-11-22Replace GTimeVal and g_get_current_time with gint64 and g_get_monotonic_time.Neil1-10/+4
GTimeVal was deprecated in GLib 2.61.2 as it is not year-2038-safe.
2019-11-15Feature [feature-requests:#1316] Allow target to have virtual space.Neil1-4/+4
2019-09-30Delete standard functions on classes where there could be attempts to copy.Neil Hodgson1-0/+10
2019-06-30Bug [#2038]. Source of input reported in SCN_CHARADDED.Zufu Liu1-5/+2
This may be SC_CHARACTERSOURCE_DIRECT_INPUT, SC_CHARACTERSOURCE_TENTATIVE_INPUT, or SC_CHARACTERSOURCE_IME_RESULT.
2019-06-29Bug [#2111]. Retracted change to IME on GTK.Neil1-7/+0
Backed out changeset: 512ec9ab2e7c
2019-06-22Bug [#2111]. Reset IME when mouse is clicked on GTK.Hodong Kim1-0/+7
2019-06-22Feature [feature-requests:#1297] Update to use INDICATOR_ instead of INDIC_ asNeil1-5/+5
INDIC_ is also used for indicator styles.
2019-06-17Feature [feature-requests:#1293]. InsertCharacter replaces AddCharUTF.Zufu Liu1-3/+3
2019-04-12Bug [#2093]. Remove restrictions on IME input length.Zufu Liu1-2/+1
2019-04-11Bug [#2087]. Fix flickering when inserting primary selection on GTK betweenNeil1-13/+29
SciTE tabs. This does not allow primary selection to work between tabs as the tabs are sharing a single Scintilla and the old primary selection is unclaimed when the file is changed. This fix adds a new ReceivedClipboard method which does not try to convert the selection if received in a different format than asked for. It was the call to gtk_selection_convert that seemed to cause the flickering. ReceivedClipboard is only called from SelectionReceiver::ClipboardReceived so only occurs due to a call to RequestSelection and can not occur because of a selection_received signal. ReceivedSelection is left with its complexity in case it is needed for some other issue although it doesn't appear to be called for drag&drop, for example.
2019-04-05Bug [#2094]. gtk: Accessible: use the built-in character position cacheColomban Wendling1-1/+1
It's quite a lot faster even after trying and optimizing the custom version, and it makes the code simpler. Also improve ByteOffsetFromCharacterOffset() to make use of the cache, making it drastically faster.
2019-03-29Include "CharacterCategory.h" in all files that include "Document.h" as it willNeil1-0/+1
be needed for adding a CharacterCategory feature.
2019-03-28Use standard GDK_SELECTION_CLIPBOARD instead of interning "CLIPBOARD".Neil1-5/+3
2019-03-28Bug [#2087]. Fix flicker when inserting primary selection on GTK.Neil1-28/+40
2019-03-27Ran astyle to standardize formatting.Neil1-212/+214
2019-03-27Fix problem with MinGW which defines NOMINMAX itself.Neil1-0/+1
2019-03-27Use const where reasonable. Some additional type safety.Neil1-51/+51
2019-03-27Standardize extracting point from mouse event, more noexcept, anonymousNeil1-26/+33
namespace and type safety.
2019-03-27Replace NULL/0 with nullptr. Mark noexcept where simple.Neil1-63/+64
Move some static functions into anonymous namespace.
2019-03-27Initialize all the fields of ScintillaGTK.Neil1-2/+6
2019-03-27Add <algorithm> for std::min/max. Standardize on _WIN32 to gate Win32 features.Neil1-1/+3
Protect from windows.h definition of min/max.
2019-03-26Make PWidget noexcept and take const argument so it can be used in more ↵Neil1-1/+1
contexts.
2019-03-25Use std::make_unique.Neil1-1/+1
2019-03-25Use generic versions of ceil, floor, round, lround, trunc from <cmath>.Neil1-4/+4
2019-01-13Replace the only use of a function from <cctype> with a Scintilla function.Neil1-1/+0
Remove inclusion of <cctype> except in lexers as cctype functions often behave poorly and may crash for out of bounds arguments.
2018-10-11Add SCI_SETCOMMANDEVENTS API to allow turning off command events.Neil1-3/+4
This can reduce the time taken to fold a document by half.
2018-05-14Modernize Platform.h (4) - update Surface to use string_view for text arguments.Neil1-2/+2
2018-05-14Modernize Platform.h (1) - noexcept, const, standard methods.Neil1-2/+1
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform.
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil1-0/+1
2018-05-02Decrease use of casts and replace reinterpret_cast with static_cast.Neil Hodgson1-23/+24
2018-05-01Bug [#2012]. Use '0' instead of '0l'.Neil1-1/+1
2018-04-25Use set of coercion functions for transforming WndProc parameters into pointers.Neil1-4/+4
2018-04-25Standardized signature of TargetAsUTF8 and EncodedFromUTF8.Neil1-4/+4
2018-04-05Backed out changeset: 7402342dc7a3 Caching client rectangle on EditView.Neil1-5/+5
This change was not compatible with Cocoa as it uses document-based coordinates rather than view-based.
2018-04-04Cache client rectangle on EditView so it can be used easily inside EditView.Neil1-5/+5
2018-03-24Feature [feature-requests:#1212]. Move Unicode conversions into UniConversion.Zufu Liu1-1/+0
Move Unicode conversion functions UnicodeFromUTF8 and UTF8FromUTF32Character into UniConversion.
2018-03-21Fix some runtime warnings caused by previous change as wSelection created laterNeil Hodgson1-4/+4
and clients (such as SciTE's about box) may use API to set up text before window is realized.
2018-03-21Fix warnings about NULL selection widget by moving creation and destruction ofMitchell Foral1-4/+2
wSelection into the realize and unrealize handlers.
2018-03-16Remove line-end white space.Neil1-1/+1
2018-03-15Use forward class definitions of XPM and RGBAImage so only code that uses themNeil1-1/+0
needs to #include "XPM.h". Move definition of standard methods on LineMarker from header to implementation to reduce included text and further isolate use of XPM and RGBAImage.
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-6/+0
interfaces ILexer4 and IDocument.
2017-08-28New header ILoader.h defines ILoader interface as it does not belong in ↵Neil1-0/+1
ILexer.h.
2017-08-02Switch default modifier key for rectangular selections from Ctrl to Alt on ↵Neil Hodgson1-4/+0
Linux.
2017-07-29Bug [#1876]. Fix scrollbar and corner drawing and flickering of text.Neil Hodgson1-6/+33
2017-07-07Bug [#1949]. Fix drawing failure in wrap mode for GTK+ 2.x.Neil1-1/+2
2017-06-12Remove old timer code in favour of the FineTicker* methods.Neil1-7/+0
2017-06-12Simplify mouse and keyboard handling by only retaining the 'WithModifiers" form.Neil1-5/+10
All events include a set of keyboard modifier flags. Older calls that passed individual parameters for each key were removed.
2017-06-10Require GTK+ 2.24 or later. Removes support for earlier versions.Baldur Karlsson1-30/+0
2017-06-09Use min and max from std instead of own version from platform.Neil1-4/+4
2017-05-21Make SparseVector work with move-only types.Neil1-0/+1
Define UniqueString as a move-only string and use in a SparseVector for ContractionState. Remove SparseVector method specializations that are no longer needed.