aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/ScintillaGTK.cxx
AgeCommit message (Collapse)AuthorFilesLines
2016-03-10Fix caret position bug on Qt and Gtk for win32 for Korean.rel-3-6-4johnsonj1-0/+2
2016-02-09Fix 64-bit build on Windows which was broken in 3.6.3 as long only 32-bits.Neil1-1/+1
2016-01-02IME attribute processing simplified for GTK+.johnsonj1-32/+19
2015-12-15Minor cleanups for GObject introspection.Neil1-3/+0
Avoid doc-comment in header as they are interpreted by g-ir-scanner, fix a typo, remove empty lines, add to change log.
2015-12-13Fix issues raised by review and some moreThomas Martitz1-3/+3
- remove any notion of deprecation of legacy symbol names - make sure typelib search path is set for test program - add separate test target to test/gi/makefile - improve g-ir-scanner call command line - fixed gtk2 support of test test/gi/gi-test.py
2015-08-10Enable g-ir-scanner to run on ScintillaWidget.hThomas Martitz1-4/+21
g-ir-scanner expects a certain naming scheme. Adhering gives the benefit of automatically getting correct gobject-introspection data.
2015-12-15Simplify IME code by using g_unichar_to_utf8.johnsonj1-44/+21
2015-12-14Block IME when some selected text is protected.johnsonj1-1/+1
2015-12-11Korean input by word fixed.johnsonj1-4/+3
2015-12-08Cancel IME composition for read-only documents.johnsonj1-0/+5
2015-11-20Remove line end whitespace.Neil1-2/+2
2015-11-13Check for NULL value in ScintillaGTK::ForAll()Jiří Techet1-2/+4
2015-11-06Unparent scrollbars in dispose on GTKJiří Techet1-3/+23
Dispose should be used to remove references to objects that might point to the destructed object. This is the case of scrollbars whose parent is ScintillaGtk and which internally hold pointers to it. This eliminates warnings on OS X.
2015-09-27Simplify casting by using static_cast instead of reinterpret_cast, glib macrosNeil1-21/+22
for passing integer values to callbacks, and avoiding casts by making functions follow prototypes exactly.
2015-09-05Remove #if sections which are not required for GTK+ 2.18.nyamatongwe1-60/+2
2015-09-05With the minimum GTK+ version now 2.18, remove #if conditions required for oldernyamatongwe1-24/+1
versions of GTK+.
2015-09-04Change FillVirtualSpace to ClearBeforeTentativeStart and delete selected text.johnsonj1-1/+1
2015-08-06Bug [#1743]. Never report the client rectangle as having a negative width orNeil1-0/+4
height as this causes "Invalid rectangle passed" warning messages.
2015-07-28Avoid candidate box randomly popping up away from edit pane with (especiallyjohnsonj1-0/+1
Japanese) IME input.
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2015-07-05GTK: Fix leaking scrollbarsColomban Wendling1-0/+3
2015-06-05Simplified retrieval of correct display for widget and ensure works on older ↵nyamatongwe1-5/+1
versions of GTK+.
2015-06-04Restored compatibility with GTK+ 2.18 for cursor calls.nyamatongwe1-2/+5
2015-06-03GTK: Don't use gdk_window_set_user_data() in a deprecated mannerColomban Wendling1-0/+4
Since GTK 3.8 gtk_widget_register_window() should be used instead of gdk_window_set_user_data() in a widget's ::realize() method. gtk_widget_unregister_window() is called by the GtkWidget's ::unrealize() handler we chain up to. This has no functional impact.
2015-06-03GTK: Use the proper GTK3 way to set widget window backgroundColomban Wendling1-6/+2
It also drops use of gtk_style_context_get_background_color() that has been deprecated in 3.16. This however has no functional changes.
2015-06-03GTK: Remove unused prototypeColomban Wendling1-1/+0
2015-05-29As of GTK+ 3.16, gdk_cursor_new is deprecated and has been replaced withNeil1-4/+6
gdk_cursor_new_for_display.
2015-05-22GTK: Fill the scrollbars junctionColomban Wendling1-0/+18
Fill the scrollbars junction square with the appropriate style on GTK version having a style for it (GTK >= 3.4). Mostly fixes [bugs:#1611].
2015-05-13Make a single argument constructor explicit.Neil1-1/+1
2015-03-30Use inline IME for Korean and decide whether input is Korean more accurately.Neil1-6/+7
From johnsonj.
2015-02-11Don't disable adaptive speed of scrolling on OS X with GTK Quartz backendJiří Techet1-3/+4
There does not seem to be any adaptive scroll speed control when using the Quartz backend so we can use the one provided by Scintilla.
2015-01-22Since gtk_widget_set_double_buffered is deprecated by GTK+ 3.14, only use itNeil Hodgson1-0/+2
when building for earlier versions.
2015-01-22Specify methods that do not use this as static.Neil Hodgson1-2/+2
2015-01-22Fix incorrect call. Was supposed to avoid empty drop.Neil Hodgson1-1/+1
2015-01-14Make Japanese IME work in windowed mode.Neil Hodgson1-1/+1
From johnsonj.
2015-01-02Use gtk_clipboard_request_contents() instead of gtk_selection_convert() for ↵Jiří Techet1-2/+12
paste on GTK When compiling Scintilla on OS X with GTK2 backend (and GTK2 with Quartz backend), gtk_selection_convert() doesn't work. GtkClipboard seems to work fine though.
2014-12-17More natural looping over visual attributes.Neil1-3/+3
2014-12-09Using indicators for inline IME.Neil1-127/+251
From johnsonj.
2014-12-05Extract FillVirtualSpace so it is not repeated and can be made less complex inNeil1-4/+1
the future.
2014-10-11GTK: Don't create widgets in the ::realize handlerColomban Wendling1-13/+16
Creating a widget may lead to a ::hierarchy-changed signal to be emitted, which itself may lead a tooltip window to be unrealized. This is problematic because it can lead to the ::unrealize handler to be called during the ::realize handler, breaking most of the logic there assuming the widget was properly realized. This fixes adding a Scintilla widget inside a GTK2 tooltip. GTK3 didn't seem to be affected. Also properly destroy the preedit popup window with the widget.
2014-10-09Avoid extra space when pasting from external application on Windows.Neil1-0/+7
From Mitchell Foral.
2014-10-06Include <stdexcept> due to report of a problem with compiling Document.h.Neil1-0/+1
2014-09-03Normalise header inclusion order.Neil1-1/+1
2014-08-11Handle empty pre-edit string.Neil1-1/+1
From johnsonj.
2014-08-08Allow IME to be displayed inline for Korean.Neil1-28/+133
From johnsonj.
2014-08-05Create a class to manage pre-edit strings and ensure their resources are freed.Neil1-33/+31
2014-07-15Implement separate timers for each type of periodic activity and turn them ↵Neil Hodgson1-16/+41
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-08Split out EditModel, MarginView, and EditView classes into separate files.Neil1-0/+3
2014-07-08Specifying some methods as const as they are used from display and measurementNeil1-3/+4
code that will be changed to have read-only access.
2014-05-24Header include statements are now in a standardised order with that orderNeil1-13/+15
defined in scripts/HeaderOrder.txt.