Enrico Tröger
c636728975
Fix several compiler warnings and build errors (patch by Daniel Richard G., thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3460 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-11 18:29:39 +00:00
Enrico Tröger
39a6eb455e
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-04 18:30:42 +00:00
Nick Treleaven
73d44c0a79
Update to use geanyfunctions.h.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3317 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-04 17:05:36 +00:00
Enrico Tröger
81ffd05aa1
dd ui_widget_set_tooltip_text() as a convenience function to easily set tooltips for widgets. It uses gtk_widget_set_tooltip_text() on GTK >= 2.12 otherwise the old tooltips API.Use ui_widget_set_tooltip_text().
...
Use ui_widget_set_tooltip_text() in the plugins.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3250 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-18 20:14:42 +00:00
Nick Treleaven
24c7302f9c
Add Split Vertically command (patch by Moritz Barsnick, thanks;
...
#2219553 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3215 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-12 16:21:32 +00:00
Enrico Tröger
bae8ca23d7
Revert last change as it breaks (again) the primary X selection as well as the mouse cursor on the scrollbar.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3163 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-30 15:23:27 +00:00
Enrico Tröger
c9fc4a1048
Try to fix a weird bug in reparenting the notebook widget when splitting on Windows. It still occurs on unsplitting.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3161 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-29 20:52:22 +00:00
Enrico Tröger
a47d72432c
Include "support.h" for I18N support instead of <glib/gi18n.h> to get strings translated with GLib 2.18+.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3112 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-18 10:54:49 +00:00
Nick Treleaven
51d28d688d
Use ui_add_document_sensitive().
...
Use PLUGIN_VERSION_CHECK(GEANY_API_VERSION) for internal plugins,
except the Demo plugin (as an example).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3085 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-14 17:03:44 +00:00
Nick Treleaven
76708ae327
Fix only updating filename label after saving the relevant document.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3059 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-08 11:38:40 +00:00
Nick Treleaven
c430b7e57a
Add filename label.
...
Fix Gtk warning when resplitting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3055 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 17:31:17 +00:00
Nick Treleaven
8c2a6ed157
Refactor with set_editor().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3054 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 17:12:33 +00:00
Nick Treleaven
73c73a6bcf
Fix segfault when clicking on split window after the original
...
document has been closed and the view has been refreshed to another
document.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3053 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 15:19:37 +00:00
Nick Treleaven
c47a0d8ab2
Use EditWindow structure instead of separate global variables.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3052 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 14:50:54 +00:00
Nick Treleaven
21b5fb03f2
Fix file header info.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3050 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 12:03:45 +00:00
Nick Treleaven
7d3adcea45
Add toolbar with Refresh button to sync to the current document, and
...
an Unsplit button (reuses existing string).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3049 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 12:00:29 +00:00
Nick Treleaven
ff85d28238
Fix wrong editor scrollbar mouse cursor and broken middle-click
...
paste after splitting or unsplitting (fixes #2142186 ).
Note: this is a workaround for an issue with Scintilla where the
widget (or its parents) can't be removed or reparented to a
non-visible widget.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 16:13:35 +00:00
Nick Treleaven
a9f071e3f5
Remove trailing whitespace.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3043 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 15:48:42 +00:00
Nick Treleaven
186e366348
Add editor_create_widget() to the API; remove editor_create(),
...
editor_destroy().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2950 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-16 15:21:46 +00:00
Nick Treleaven
e6c807c25b
Use SCI_STYLEGET(FONT|SIZE) instead of parsing editor_font.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2947 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-15 16:53:31 +00:00
Nick Treleaven
a0493aa678
Make menu document-sensitive.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2941 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-12 14:12:15 +00:00
Nick Treleaven
0d9f0ea3df
Set pane splitter halfway.
...
Copy cursor position from original editor.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2939 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-11 16:26:34 +00:00
Nick Treleaven
0bf9414532
Unsplit when the source document is closed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2937 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-11 15:06:14 +00:00
Nick Treleaven
906ec0e73b
Move menu items to a submenu.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2935 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-10 14:49:16 +00:00
Nick Treleaven
850a558f9c
Add Unsplit command.
...
Clean up menus and split window when unloading plugin.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2934 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-10 14:29:16 +00:00
Nick Treleaven
9f8f2c7b28
Add Split Window plugin (work-in-progress).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2906 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-26 15:58:07 +00:00