aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/ScintillaGTK.cxx
AgeCommit message (Collapse)AuthorFilesLines
2012-02-18Avoid scrolling window before it is realized. Bug #3488481.nyamatongwe1-2/+4
2012-02-17Update to modifier key bindings for GTK+ on OS X. From Mitchell Foral.nyamatongwe1-2/+1
2012-02-14Simplify key handling code that has not needed to process different cases fornyamatongwe1-15/+3
5 years.
2011-12-12On GTK+ 2.x, change SurfaceID from GdkDrawable* to a cairo_t* so that it isnyamatongwe1-8/+6
the same as on GTK+ 3.x. This simplifies compatibility and allows implementing printing on GTK+ 2.x.
2011-11-10Fix deprecation warnings.Unknown1-0/+8
2011-09-24Merged fractional text positioning branch.nyamatongwe1-6/+6
2011-09-24Removed support for GDK drawing in favour of Cairo which has beennyamatongwe1-59/+0
available since 2.8. Removed #ifs for versions earlier than 2.8.
2011-09-09Update deprecated calls to GTK+ 3 maintained functions.nyamatongwe1-9/+19
2011-09-09Update deprecated calls to GTK+ 3 maintained functions.nyamatongwe1-9/+19
2011-09-09Update calls to Surface::Allocate for GTK+ 2.nyamatongwe1-2/+2
2011-09-09Merge with main repository.nyamatongwe1-2/+0
2011-09-06Always use Cairo for drawing.nyamatongwe1-2/+0
2011-08-11Implement new APIs defined for technology choice on Windows.nyamatongwe1-4/+4
2011-07-19Patch from Mitchell to make Alt key handling work on OS X.nyamatongwe1-1/+1
2011-07-12Report control key as SCMOD_META with GTK+ on OS X.nyamatongwe1-0/+10
Mostly from Mitchell Foral.
2011-07-11Make Unicode input through Ctrl+Shift+U work by passing key releasenyamatongwe1-2/+6
events to gtk_im_context_filter_keypress.
2011-06-25Initial implementation of RGBA images.nyamatongwe1-0/+1
2011-06-22Made IME work on GTK+ 2.x with Cairo. Bug #3311423.nyamatongwe1-1/+6
2011-06-22Support IME on GTK+ 3.nyamatongwe1-1/+41
2011-06-16Moved style attach calls to before background setting whichnyamatongwe1-3/+3
uses the style. From Mitchell Foral.
2011-06-10Windows headers are system headers so use angle brackets.nyamatongwe1-1/+1
2011-05-02Retreated from turning gdk_cursor_unref into g_object_unref as this caused ↵nyamatongwe1-5/+5
crashes.
2011-05-02Switching to non-deprecated APIs.nyamatongwe1-0/+4
2011-05-02Making scroll bars 1 pixel shorter as this prevents shrink causednyamatongwe1-2/+2
by touching resize corner.
2011-05-02Switching from deprecated gdk_cursor_unref to g_object_unref.nyamatongwe1-5/+7
2011-05-02Implemented damage region testing on GTK+ 3.nyamatongwe1-9/+42
2011-05-01For GTK+ 3, performing drawing in draw method instead of expose method.nyamatongwe1-3/+135
Type-safe update of clip region but not functional as always set to NULL.
2011-05-01Use accessor function for widget attributes and initialisation for GTK+ 3.nyamatongwe1-0/+13
2011-05-01Switched to GTK+ 3 calls for setting NULL backing.nyamatongwe1-3/+8
2011-05-01Switch from SizeRequest to GTK+ 3 preferred width and height.nyamatongwe1-0/+19
2011-05-01Using new key names for GTK+ 3.nyamatongwe1-0/+74
2011-05-01Use accessor function for allocation and style for GTK+ 3.nyamatongwe1-8/+18
2011-05-01Use accessor function for clipboard and drags for GTK+ 3.nyamatongwe1-20/+43
2011-05-01Use accessor function for adjustments and scrollbars for GTK+ 3.nyamatongwe1-5/+53
2011-05-01Dropped headers no longer needed and not available in GTK+ 3.nyamatongwe1-2/+0
2011-05-01Fixing return types of signals connected with g_signal_connect.nyamatongwe1-20/+19
2011-05-01Use accessor function instead of widget->window for GTK+ 3.nyamatongwe1-27/+44
2011-04-07Previous change to -1x-1 requisition caused warnings so use 1x1.nyamatongwe1-2/+2
2011-03-31Fix sizing issue in GTK+ widget.Matthew Brush1-2/+2
Rather than use an unusual default size of 600 x SCREEN_HEIGHT, request -1 x -1 for the natural widget size.
2011-03-30Removing empty lines.nyamatongwe1-4/+0
2011-03-28Reset cursors when Scintilla widget is realized.Matthew Brush1-0/+12
Solves problem which occurs when Scintilla widget is unrealized and then re-realized and the cursor is left at GDK_XTERM even over the scrollbars. When the Scintilla widget is unrealized it's GdkWindows are destroyed and so the previous cursors are lost. This commit forces default cursors on the text and scrollbar windows when the widget is realized. References: http://www.mail-archive.com/scintilla-interest@lyra.org/msg01364.html http://git.geany.org/geany/tree/plugins/splitwindow.c#n310 http://www.mail-archive.com/geany@uvena.de/msg00821.html
2011-03-28Fix X PRIMARY selection issue when Scintilla widget is unrealized/re-realized.Matthew Brush1-8/+16
When the widget is unrealized (for ex. with gtk_container_remove), the GdkWindows used in the widget are destroyed and when the widget is realized again (for ex. with gtk_container_add), the GdkWindows are re-created. This commit moves the gtk_selection_add_targets() calls into the RealizeThis function, so that when the widget is realized again, the selection targets are re-added on the new GdkWindow. Also add gtk_selection_clear_targets() into UnRealizeThis to remove the registered targets before the GdkWindow is destroyed. References: http://mail.gnome.org/archives/gtk-devel-list/2002-March/msg00078.html http://mail.gnome.org/archives/anjuta-devel-list/2002-March/msg00066.html http://git.geany.org/geany/tree/plugins/splitwindow.c#n310
2011-03-26Make right mouse click outside selection cancel selection. Bug #3235190nyamatongwe1-0/+2
This is compatible with Windows. From Jérôme LAFORGE.
2010-12-11Make multiple selection multi-paste work when multi-type is off. Bug #3126221.nyamatongwe1-1/+1
2010-12-03Remove styling idle in destructor to avoid crashing when idle callednyamatongwe1-0/+1
after ScintillaGTK instance destroyed.
2010-11-02Can draw with Cairo rather than GDK for compatibility with newer versions of ↵nyamatongwe1-3/+6
GTK+. Will be required for GTK+ 3.0 although not tested with 3.0 or development version 2.9. Can be turned on with USE_CAIRO definition and this is selected automatically for GTK+ 2.22 or later. Cairo is antialiased so some drawing will appear different.
2010-10-21Using non-deprecated functions for manipulating widget flags.Unknown1-0/+33
2010-08-18GTK+ version-sensitive definitions for widget query functions/macrosUnknown1-6/+16
to avoid deprecation warnings on GTK+ 2.20.
2010-08-18Avoid deprecated API gtk_type_class.nyamatongwe1-1/+1
2010-08-18Avoid deprecated API gtk_selection_clear.nyamatongwe1-1/+4