Nick Treleaven
84f8db733d
Make foreach_ptr_array() use an integer argument for its
...
implementation, as this is more useful potentially than a gpointer*
argument, and more straightforward.
Add foreach_c_array(), foreach_ptr_array() to API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3997 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-20 12:25:24 +00:00
Nick Treleaven
20c66a6816
Add stash_group_add_widget_property() so we can save any widget's
...
read/write properties.
Use Stash for ui_prefs.sidebar_page setting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3996 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-20 12:00:06 +00:00
Nick Treleaven
7bb6a8c32d
Add warning about reusing string buffer in utils_build_path().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3995 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-20 11:21:05 +00:00
Enrico Tröger
8eef880bb6
Don't use the main window as parent for dialog boxes if it is not yet realised.
...
Set titles for message dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3993 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-19 20:19:09 +00:00
Enrico Tröger
5dbd06700d
Improve inserting of comment templates like File header or licence notices. The comment information are now read from the filetype configuration files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3991 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-18 14:45:43 +00:00
Enrico Tröger
eaa0592bb3
Speed up toolbar editor dialog creation.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3990 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-18 14:45:30 +00:00
Enrico Tröger
7d460fdff1
Show icons in the toolbar editor.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3989 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-18 14:45:18 +00:00
Enrico Tröger
5973135813
Apply changes in the toolbar editor instantly.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3988 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-18 14:45:05 +00:00
Enrico Tröger
6c16035450
Display item labels instead of raw names in the toolbar editor.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3987 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-18 14:44:51 +00:00
Enrico Tröger
9af1f7c78a
Fix broken special case handling when detecting filetypes from a shebang or other special file headers.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3981 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 17:41:25 +00:00
Nick Treleaven
6097e156cf
Edit marker_search again to not conflict with line marker color.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3980 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 15:54:45 +00:00
Nick Treleaven
b51b8524e3
Add treeviews_finalize().
...
Remove tv.popup_openfiles field.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3979 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 15:50:13 +00:00
Enrico Tröger
c7871c70e8
Enable file monitoring for files which are written to disk by Geany for the first time.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3978 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 15:36:27 +00:00
Nick Treleaven
5be4c4aec3
Fix GTK warning when right-clicking on default tag tree.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3977 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 15:19:57 +00:00
Nick Treleaven
d7cd30cd99
Add 'Show Paths' documents list popup item.
...
Add "load_settings" core-only signal emitted just after loading
main keyfile settings; useful to delay building UI elements until
settings have been read.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3976 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 15:04:21 +00:00
Nick Treleaven
f157f0e1ae
Add items: custom filetypes, per-workspace instances with socket support.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3975 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 14:41:59 +00:00
Nick Treleaven
e8573df8bb
Fix wrong match length when using Mark with regex.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3974 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 14:37:35 +00:00
Nick Treleaven
a25c0efb48
Make Mark All keybinding clear search highlighting when there's no
...
current word.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3973 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 12:21:56 +00:00
Nick Treleaven
d2433058ef
Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3971 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-15 14:23:02 +00:00
Enrico Tröger
9a54f5f7b1
Fix broken 'builtin' Run command for HTML files on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3969 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 18:49:31 +00:00
Enrico Tröger
c5176a7da5
Quote the uri before passing it to the browser when opening a website ( closes #2818635 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3968 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 18:45:22 +00:00
Nick Treleaven
28dad7a899
Remove filetypes_foreach_named().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3967 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 15:14:38 +00:00
Nick Treleaven
c4513eecaf
Add geanyplugin.h single include for plugin API; update all core
...
plugins to use it.
Add sci_set_font() to API.
Update plugin howto.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 15:06:20 +00:00
Nick Treleaven
80ac9273ee
Note geanyfunctions.h must be included last.
...
Use triple quoted text for file header.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3965 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 13:26:19 +00:00
Nick Treleaven
99641558bb
Add documents_foreach() API macro that skips invalid docs.
...
Make filetypes[], documents[] part of the API again.
Add GEANY() macro for sharing geany symbols between API and core.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3964 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 13:05:51 +00:00
Nick Treleaven
4edd25c857
Use hyphen for auto-feature terms.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3963 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 11:25:07 +00:00
Nick Treleaven
a3da300b67
Make Mark highlighting brighter.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3962 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 11:11:50 +00:00
Nick Treleaven
c07e7af183
Allow autocompletion in Perl double-quoted strings.
...
Don't autocomplete in Perl single-quoted strings (closes #2821061 ).
Don't autocomplete in Perl q() strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 11:04:52 +00:00
Nick Treleaven
10b519d786
Properly fix wrong brace highlighting of non-brace character.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 10:32:32 +00:00
Nick Treleaven
dbb805a06c
Improve wrong brace highlighting of non-brace character.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3958 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-13 16:29:43 +00:00
Nick Treleaven
093bb17b67
Reload filetypes.common after saving it.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3957 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-13 12:38:32 +00:00
Nick Treleaven
ce0600b09d
Forgot to commit.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3956 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-13 12:25:35 +00:00
Nick Treleaven
b051d01215
Apply patch from Eugene Arshinov to reload color schemes via menu
...
(thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3955 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-13 11:58:21 +00:00
Frank Lanitz
25d32d284e
Update of Turkish translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3954 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-13 11:39:37 +00:00
Frank Lanitz
d37c3f0b16
Update of Russian translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3953 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-13 08:11:26 +00:00
Nick Treleaven
746a8d5834
Show relative paths in diff filename tags.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3951 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-10 15:57:12 +00:00
Nick Treleaven
a6a847f4e7
Don't use g_alloca() with selected text, it may be too long.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3950 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-10 15:42:22 +00:00
Nick Treleaven
8c7f40f3f9
Add 'Mark All' keybinding.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3949 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-10 15:17:27 +00:00
Nick Treleaven
bb7a91f43e
Delay highlighting matching braces by 100ms, which speeds up
...
scrolling with the arrow keys.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3948 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-10 14:03:16 +00:00
Enrico Tröger
2eed73e620
Fix setting keyword list 'classes' for Haxe (pointed out by Andreas Mokros, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3946 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-09 15:25:26 +00:00
Nick Treleaven
70ff740e72
Support 'tab indents, space aligns' style for auto-indentation
...
(closes #2789109 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3945 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-09 14:20:22 +00:00
Nick Treleaven
87e8f51e36
Add warning when printing and editor font is not monospaced.
...
Fix using GtkMessageType instead of gint param for
dialogs_show_msgbox*().
Add missing G_GNUC_PRINTF macro check to API dialog funcs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3944 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-09 13:51:37 +00:00
Nick Treleaven
979585dbb6
If autocompletion is already visible when forcing completion, show
...
document word completion instead of tag completion.
Docs: Minor edits of related prefs items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3943 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-09 11:54:14 +00:00
Nick Treleaven
67ae2b4931
Add 'Drop rest of word on completion' pref.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3942 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-09 11:18:45 +00:00
Enrico Tröger
a613590d91
Add the new 'Autocomplete all words in document' pref to the docs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3938 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 22:38:55 +00:00
Enrico Tröger
c447144e6f
Ignore 'created' events for file monitoring, for now.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3937 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 22:22:44 +00:00
Enrico Tröger
cb8cc25610
Add style 'marker_mark' and change style 'marker_search' to define the style used for marked search results.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3936 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 22:22:28 +00:00
Enrico Tröger
443ee99e7e
Add style 'line_height' to increase the line height.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3935 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 22:21:45 +00:00
Enrico Tröger
83804ab746
Simplify the USE_GIO_FILEMON preprocessor checks.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3934 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 22:20:41 +00:00
Enrico Tröger
7067b84a09
Rework the GIO based file monitoring code.
...
Now it is used only to indicate a possible change of the file, the real check if the file has been changed is performed by stat().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3933 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-08 22:20:17 +00:00