Nick Treleaven
43704d8ebe
Add ui_button_new_with_image() to plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2223 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-04 13:40:14 +00:00
Nick Treleaven
b8f92279c3
Show default shortcuts in Keybindings section.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2222 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-04 13:28:51 +00:00
Nick Treleaven
4c747131c1
Add sci_get_current_line() to plugin API.
...
Add ui_table_add_row(), ui_path_box_new() to plugin API (thanks to
Yura Siamashka).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2221 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-04 12:49:14 +00:00
Nick Treleaven
39f97b19f4
List Cut, Copy, Paste keybinding descriptions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2220 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-04 12:36:43 +00:00
Enrico Tröger
a0990ce7f6
Reduce minimum window size to 550x350 ( closes #1883367 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2218 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-04 08:48:20 +00:00
Enrico Tröger
1222e1ec8c
Update images for 0.13.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2216 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-04 08:27:29 +00:00
Nick Treleaven
732d1a5945
Update Project section for project-based session support.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2208 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-01 13:37:58 +00:00
Nick Treleaven
eeba2ac25d
Add Indentation subsection under Editor section.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2207 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-01 13:16:32 +00:00
Frank Lanitz
d8a79b09b6
Fixed a little typo
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2204 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-31 19:02:52 +00:00
Nick Treleaven
6539446a4f
Update for GTK+ 2.12.5.
...
This also adds return type modifiers like const and *.
Command used (on Fedora 8):
'CFLAGS=-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include geany -g gtk-2.12.c.tags
/usr/include/gtk-2.0/gtk/gtk.h'
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2203 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-31 17:45:44 +00:00
Nick Treleaven
4825bfc10f
Fix saving project session from a 2nd instance of Geany.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2202 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-31 16:31:19 +00:00
Enrico Tröger
dc9ee75785
Fix losing line breaks when printing a file with LF line endings and a non-Ascii character at the end of a line.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2201 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-31 15:18:13 +00:00
Enrico Tröger
b858a3e3e1
Open a new, empty file when closing a project and no session files are available or when opening a project without stored session files.
...
Close all open files when opening projects.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2200 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-31 14:35:03 +00:00
Nick Treleaven
667126d7f6
Factor out get_search_flags() from Find, Replace dialog response
...
code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-29 16:34:16 +00:00
Nick Treleaven
fb167ce4dc
Rename binding type KeyBinding.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2198 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-29 16:11:18 +00:00
Nick Treleaven
5994857b42
Allow case sensitive replace when the replace string varies only
...
in case.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2196 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-29 12:21:02 +00:00
Nick Treleaven
cdf447647f
Add new macros for plugin API functions that use a 'p_' prefix to
...
prevent conflicts with other tags whilst keeping the same first word
as core function names, and update plugins to use them.
The old plugin macros are still available, but will be removed
after the next release.
Compiling with -DGEANY_DISABLE_DEPRECATED in CFLAGS will disable
the old macros.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2195 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-28 17:27:39 +00:00
Enrico Tröger
0bf9496a97
Fix crash on Windows when printing an untitled file.
...
Fix black line number margin when printing by using also pre-defined styles.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2194 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-27 18:27:33 +00:00
Nick Treleaven
28ee2d71f0
Close any project before closing all documents so the project
...
session files are saved.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2190 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-25 13:14:38 +00:00
Nick Treleaven
217bf8be3c
Remove unnecessary save of project keyfile.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2189 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-25 13:09:14 +00:00
Enrico Tröger
a377002f4e
Rename ui_treeviews_show_hide() in ui_sidebar_show_hide().
...
Don't hide sidebar when symbol and document lists are hidden but other notebook tabs are still there.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2186 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-23 14:12:08 +00:00
Enrico Tröger
26cf56ffc0
Fix wrong placement of descriptive texts in Templates and Tools tabs in the preferences dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2185 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-23 13:36:53 +00:00
Enrico Tröger
69f7c43626
Move class and label structs to geanywraplabel.c.
...
Override widget functions instead of using event handlers (trying to fix #1869399 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-23 13:35:08 +00:00
Enrico Tröger
609567552b
Add Greek translation (thanks to Stavros Temertzidis).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2183 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-22 15:19:36 +00:00
Nick Treleaven
51cfe5c125
Split up Prefs dialog General tab options into Startup, Shutdown
...
and Projects frames.
Rename 'Load and save session files...' option 'Use project-based
session files'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2180 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-18 17:36:08 +00:00
Enrico Tröger
012622a209
Add two missing highlight styles to filetype Ruby.
...
Enable comment/uncomment for POD-like comments for filetypes Ruby and Perl.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2179 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-17 14:30:40 +00:00
Nick Treleaven
264a7e449e
Fix parsing D constructor tags.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2178 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-16 16:54:09 +00:00
Enrico Tröger
7b85b02f93
Add encodings_get_charset_from_index() and make it available through plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2177 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-16 16:50:10 +00:00
Enrico Tröger
5a1b51bc84
Add option for project session files support.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2176 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-16 16:30:34 +00:00
Nick Treleaven
62c0ad1493
Fix hidden lines after deleting a line that is a collapsed fold
...
point.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2175 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-16 13:07:04 +00:00
Nick Treleaven
f446def461
Don't unlink the old file if renaming failed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2174 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-15 17:04:31 +00:00
Nick Treleaven
6eceb83d41
Make 'Open Selected File' first try the current file's directory,
...
falling back to the project base path if no file was found.
Add editor_get_default_selection() from get_default_text() in
search.c, to get the current selection or current word.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2172 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-14 17:30:59 +00:00
Enrico Tröger
748d552168
Save project session file list when project is closed.
...
Don't load default session files in a second instance after a project was closed.
Fix not updating symbol list (and other things) when changing tabs after a project was opened or closed in a second instance.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2171 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-13 17:50:04 +00:00
Enrico Tröger
bc180f0545
Don't add '>' when auto completing HTML tags when it's already there.
...
Fix wrong indentation when '{' and '}' are on the same line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2169 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-12 13:01:43 +00:00
Enrico Tröger
f8574bd8b9
Add POTFILES.skip to ignore files with translatable strings.
...
Make "distcheck" working.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2168 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-12 12:22:46 +00:00
Enrico Tröger
3775f8f551
Avoid double status message if print dialog was cancelled.
...
Print status messages in status-changed handler.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2167 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-12 11:03:52 +00:00
Enrico Tröger
8977c301a7
Try to fix changing message window height when using full screen ( closes #1869415 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2166 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-12 10:14:58 +00:00
Nick Treleaven
ff9c673ed2
Apply patch from Yura Siamashka to speed up removing several
...
workspace object's tags without updating the workspace until
necessary (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2164 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 17:09:23 +00:00
Nick Treleaven
d4764a2bc9
Add 'Make in base path' project file preference, on by default.
...
Add project_get_base_path(), separated from project_get_make_dir().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2163 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 16:53:25 +00:00
Enrico Tröger
a248c03f18
Fix crash while reading Scintilla styles.
...
Append "_export" to the exported file name when the exported file has the same extension as the source file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2162 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 15:02:42 +00:00
Enrico Tröger
fd4f40e48d
Fix crash while reading Scintilla styles.
...
Add GTK's progress dialog when printing large documents which also provides the ability to cancel a print operation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2161 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 14:23:29 +00:00
Enrico Tröger
8751272b25
Fix broken Rename functionality ( closes #1868621 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2160 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 13:17:00 +00:00
Nick Treleaven
f2ab079305
Add 'Override Geany keybindings' VTE prefs dialog option (replaces
...
hidden pref), and make it off by default.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2158 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-10 17:11:19 +00:00
Nick Treleaven
afe981214a
Hopefully fix bug with Cut/Copy/Paste KB not working ( #1867861 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2156 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-10 13:27:26 +00:00
Nick Treleaven
1d1cd90028
Edit base path entry tooltip for clarity.
...
Use stock close button in close project prompt.
Allow the base path to be empty, so that users can use the current
file's directory for the Make command (but still use project session
support). In future, perhaps it would be good to have a separate Make
path setting for projects.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2155 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-09 18:05:09 +00:00
Enrico Tröger
0f9433d088
Fix compile error on Windows. Don't use _waccess_s since it seems to be unavailable in MingW32.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2154 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-09 15:40:22 +00:00
Enrico Tröger
9f151a3c1c
Add workaround for display problem in Message window:
...
Truncate displayed string at 1024 bytes if it is longer.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2153 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-09 13:36:22 +00:00
Enrico Tröger
2ff8416767
Add GeanyWrapLabel (subclass of GtkLabel) to wrap text at any width.
...
Use GeanyWrapLabel in preferences dialog and plugin manager dialog to save a lot of space and improve layout of descriptive texts.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2152 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-09 13:24:36 +00:00
Enrico Tröger
4d70dce5d4
Add utils_is_file_writeable().
...
Improve checks for write permission of files and directories.
Don't overwrite maybe existing project files when trying to create new project and checking for project file's write permission (thanks to Yura Siamashka for reporting and his patch).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2151 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-06 19:59:01 +00:00
Enrico Tröger
e3201062c6
Update copyright information and change format of email addresses in source files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2150 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-06 18:11:57 +00:00