aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
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-30Optimize font use by only allocating platform font resources for unique fontsnyamatongwe4-112/+217
and using aliases of these in the Style objects. Font measurement is also performed once for each unique font and the results copied into each style. No change is needed in callers. On PLAT_WX, the font ascent is cached in the Font object when Ascent is called but this is not copied into the aliases as ascent is protected. Therefore the code that copies the FontID into the alias also calls Ascent to ensure the ascent value is cached.
2011-03-27Fix folding failure with PHP within a line of Javascript. Bug #3193530.nyamatongwe1-1/+2
2011-03-27Fix for bug with wrong recognition of number after regex literal. Bug #3209108.nyamatongwe3-11/+13
Added test for this case.
2011-03-27Fix folding of inactive code.nyamatongwe1-14/+16
2011-03-27Reindented with astyle.nyamatongwe1-353/+355
2011-03-26Compatibility with Lua 5.2 alpha. Feature #3243811.nyamatongwe1-10/+33
Hexadecimal floating-point numbers recognized. Support for '\*' whitespace escaping in strings. From Kein-Hong Man.
2011-03-26Make right mouse click outside selection cancel selection. Bug #3235190nyamatongwe1-0/+2
This is compatible with Windows. From Jérôme LAFORGE.
2011-03-26Command line option to check for deprecated calls.nyamatongwe1-1/+3
2011-03-22Updated to match current C++ use in Scintilla.nyamatongwe1-11/+10
2011-03-22Updated astyle options to current preferences.nyamatongwe1-38/+37
Removed line end whitespace.
2011-03-22Ignore ';' in a comment. Bug #3196071.nyamatongwe1-2/+16
From Jérôme LAFORGE.
2011-03-22Folding for here docs and explicit folding comments. Feature #3116881.nyamatongwe1-1/+51
From Jérôme LAFORGE. Also completes feature #3112671.
2011-03-22Converted to lexer object by Udo Lechner.nyamatongwe1-64/+181
2011-03-21Added tag rel-2-25 for changeset 930e2f7d3616nyamatongwe0-0/+0
2011-03-21Updated dates and sizes for 2.25 release.rel-2-25nyamatongwe3-4/+4
2011-03-18Avoid const warnings.nyamatongwe1-2/+2
2011-03-18Removed unused variable.nyamatongwe1-3/+0
2011-03-18Removed unused variable.nyamatongwe1-4/+2
2011-03-17More additions for 2.25.nyamatongwe1-0/+6
2011-03-17More additions for 2.25.nyamatongwe1-0/+3
2011-03-17More additions for 2.25.nyamatongwe2-2/+43
2011-03-17Updating for version 2.25.nyamatongwe5-13/+24
2011-03-17Avoid drawing alpha rectangles that extend well before the left of thenyamatongwe1-1/+1
window as that causes allocation of large buffers on some platforms.
2011-03-08Added reference to Coder's Studio.nyamatongwe1-0/+4
2011-03-03Bug #3197952. Ensure that diffs of diffs style correctly. When header '---' isnyamatongwe1-1/+1
removed it prepends a '-' removal character resulting in '----' at line start. This is better treated as a removal than as a header. From Todd Whiteman at ActiveState.
2011-02-28Avoid shadowed variables as reported by Xcode.nyamatongwe4-10/+8
2011-02-28Hide OS X build files.nyamatongwe1-1/+9
2011-02-28Copy of change 3284 for macosx platform: maximum alpha is 255, not 100.nyamatongwe1-1/+1
2011-02-26Fixed preprocessor macro name to fix bug #3192365.nyamatongwe1-1/+1
2011-02-25Credit.nyamatongwe1-0/+1
2011-02-23Avoid some cppcheck warnings.nyamatongwe1-2/+2
2011-02-20Avoid adding extra spaces to descriptions.nyamatongwe1-2/+0
2011-02-20Avoid some cppcheck warnings.nyamatongwe3-7/+7
2011-02-19Fixed to make compile.nyamatongwe1-1/+1
2011-02-17Folding of "procedure". Feature #3184356.nyamatongwe1-1/+1
Only create an end fold for "module procedure", not just "procedure".
2011-02-15Dropping old project files as difficult tomaintain.nyamatongwe2-583/+0
2011-02-14Addition of triple quoted strings for Vala. Feature #3177601.nyamatongwe3-1/+14
From Colomban Wendling.
2011-02-13Folding features added by Udo Lechner.nyamatongwe5-23/+296
Explicit fold points which can be set to arbitrary strings and occur anywhere. Can choose whether to have syntax based folding and multiline comment folding.
2011-02-13Avoid unnecessary relinks on Windows.nyamatongwe1-2/+4
2011-02-13Added Merge method to SparseState to make it possible to detect significantnyamatongwe3-5/+136
changes in lexers which will require styling beyond the end of the current range.
2011-02-13Make work on Windows.nyamatongwe1-2/+2
2011-02-13Extracted searches into a common method, added std:: where possibly needed.nyamatongwe1-7/+12
2011-02-10Only append a state if the value differs from the last current value.nyamatongwe2-1/+10
2011-02-10Handling unicode and wide character literals.nyamatongwe1-5/+8
2011-02-10New lexical class SCE_C_STRINGRAW for C++0x raw strings. Feature #3054629.nyamatongwe3-2/+46
2011-02-10New class SparseState for storing lexer state that may notnyamatongwe2-0/+209
change on most lines.
2011-02-10Removed unnecessary call.nyamatongwe1-1/+0
2011-02-10Fix for backwards case-insensitive search in code page 936. Bug #3176271.nyamatongwe1-1/+5
Was not finding each occurance of a given string due to misaligned character access.