aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/ScintillaGTK.cxx
AgeCommit message (Collapse)AuthorFilesLines
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
2010-08-18Removed code that is not used since GTK+ 1.x is no longer supported.nyamatongwe1-41/+0
That code used deprecated APIs.
2010-08-17Upgraded deprecated APIs.nyamatongwe1-29/+22
2010-08-05Removing SC_CP_DBCS as it does not fit into new DBCS processing code.nyamatongwe1-2/+1
Updated documentation to describe the common DBCS support between platforms and removed outdated text.
2010-08-05DBCS case folder for GTK+.Unknown1-22/+61
2010-08-05Removal of line end white space.nyamatongwe1-3/+3
2010-08-05Added Korean code pages 949 and 1361.nyamatongwe1-0/+2
2010-07-13Platform files changed for new lexer design.nyamatongwe1-5/+7
2010-06-11Ensure thread safety with idle callbacks in case application is multithreaded.nyamatongwe1-0/+4
See http://library.gnome.org/devel/gdk/unstable/gdk-Threads.html#id2755107
2010-05-26Drawing optimizations adding a styling idle task redrawing less of thenyamatongwe1-8/+27
selection margin and scrolling the window for caret movement when possible.
2010-05-08Switched to using documented parameter for SCI_LOADLEXERLIBRARYnyamatongwe1-1/+1
on GTK+.
2010-04-14Silence iconv warnings when creating case mapping tables.nyamatongwe1-3/+5
Bug #2986850.
2010-04-11Fixed bug 2984460 Middle-click paste is broken in block select modenyamatongwe1-0/+1
2010-03-25Removed support for GTK+ 1.x.nyamatongwe1-515/+7
2010-03-25New case insensitive searching implementation uses objects implementingnyamatongwe1-0/+59
the CaseFolder interface to fold both search text and document text so they can be compared with a simple strcmp. A simple table based folder CaseFolderTable is used for 8 bit encodings and maps input bytes to folded bytes. For multi-byte encodings except for UTF-8 a null (output same as input) CaseFolderTable is used. For UTF-8, more complex subclasses are used which call platform APIs to perform the folding. Folding is approximately to lower case although this differs between platforms.
2010-03-23Upper and lower casing now works on non-ASCII characters.nyamatongwe1-0/+52
2010-03-17Fix for bug #2971618 Middle-click paste inserts text beyond end of line.nyamatongwe1-1/+1
2010-03-17Made multiple paste work on GTK+.nyamatongwe1-4/+1
2010-03-17Fixed bug where extra NUL was inserted when pasting a rectangularnyamatongwe1-0/+2
selection.
2010-03-13Removed unused variable and code that calculates it.nyamatongwe1-8/+5
2010-01-28Avoiding warnings from cppcheck. Mostly removing bodies of private copynyamatongwe1-2/+2
constructors and operator=. Also ensuring initialisation for some fields, reducing scope where possible, and passing by const reference.
2009-08-28When pasting into a rectangular selection use the start of the rectangularnyamatongwe1-1/+3
selection rather than the start of the main range which is often the last line.
2009-08-26Made Japanese and Chinese code pages 932, 936 and 950 work on GTK+.nyamatongwe1-1/+6
2009-08-14Fixed problem with drag and drop of rectangular selectionnyamatongwe1-9/+8
to position after selection where position was not adjusted for removal of every piece of selection.
2009-07-25Protection against NULL pointer when copying empty selection.nyamatongwe1-3/+4
2009-07-21Using std::string rather than SString.nyamatongwe1-0/+1