Nick Treleaven
cb44ff626c
Explain owner parameter of ui_hookup_widget() better.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5251 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-22 15:25:37 +00:00
Nick Treleaven
459cf4c219
Group editor popup Insert commands in a submenu, with extra items
...
for the most commonly used Insert Comments commands.
Show Edit->Commands before Format in menubar Edit menu (to match
keybindings order).
Show Open Selected F_ile popup item below submenus.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5250 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-21 17:48:42 +00:00
Nick Treleaven
911ed30800
Unify Find Selection strings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5249 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-21 16:40:29 +00:00
Nick Treleaven
1f063b535b
Make Find Selected commands repeat the last search if the selection
...
was lost.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5247 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-21 16:25:10 +00:00
Nick Treleaven
ab673d22fd
Move find_again() to search.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5246 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-21 16:16:15 +00:00
Nick Treleaven
c9dd691c2d
Move Go to Marker menu items to Search menu.
...
Rename popup editor menu item Commands -> Edit.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5245 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-21 16:05:10 +00:00
Nick Treleaven
9c71adb4bd
Open a new document automatically after closing all documents.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5244 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-20 12:19:26 +00:00
Nick Treleaven
0e008612c4
Add Search submenu for Find Selected, Find Usage, Go to Tag items,
...
shared with the editor popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5243 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-20 12:06:04 +00:00
Nick Treleaven
d6cc831da5
Use string for GeanySharedMenu::menu.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5242 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-20 11:52:07 +00:00
Nick Treleaven
cc016bf258
Refactor shared submenu code with GeanySharedMenu array.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5241 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-20 11:36:50 +00:00
Nick Treleaven
e7373fabf5
Use C struct copying instead of memcpy.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5240 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-17 19:15:13 +00:00
Nick Treleaven
98e6efb3b4
Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5237 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-16 15:31:23 +00:00
Nick Treleaven
8b6bcf6d68
Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5236 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-16 15:18:56 +00:00
Nick Treleaven
3d9bac808d
Add plugin signals project-dialog-create and
...
project-dialog-confirmed so plugins can append a Project Properties
notebook tab (patch by Jiří Techet, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5235 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-16 15:14:09 +00:00
Nick Treleaven
271257a0ae
Prompt for reloading if the document has an undo stack to avoid
...
losing undo ability on accidental reloading (patch by Colomban
Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5234 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-16 14:52:04 +00:00
Nick Treleaven
75226fe3f4
Update - thanks Erik.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5233 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-15 17:11:30 +00:00
Nick Treleaven
4c3ab61c3f
Use a separate socket per workspace on X (patch by Erik de Castro
...
Lopo, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5232 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-15 17:04:23 +00:00
Nick Treleaven
a1ae5af38d
Save document indent width with the session.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5231 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-15 14:59:41 +00:00
Nick Treleaven
e394aeddd1
Don't translate indent width menu items as they are now used for
...
atoi().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5230 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-14 15:19:13 +00:00
Nick Treleaven
91457e47ef
Combine indent width menu item callbacks.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5229 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-14 15:10:46 +00:00
Nick Treleaven
e664c8344f
Allow per-document indent width setting (patch by Jiří Techet,
...
updated by Erik de Castro Lopo - thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5228 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-14 15:01:29 +00:00
Nick Treleaven
55ebfc0d61
Ignore directories passed on the command-line (based on patch by
...
Erik de Castro Lopo, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5226 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-14 11:29:42 +00:00
Nick Treleaven
0eca783f97
Simplify keybindings_check_event().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5225 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-13 15:37:46 +00:00
Nick Treleaven
d840f86a9d
Fix some 'possible' NULL pointer dereferences (based on patch by
...
Erik de Castro Lopo).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5224 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-13 15:03:18 +00:00
Nick Treleaven
d7f7ff0678
Remove 3 popup menu items to save space:
...
Find Document Usage because Find Usage can be used instead.
Go to Tag Declaration because Go to Tag Definition is more common.
Go to Line because the toolbar item can be used instead.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5223 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-13 14:39:32 +00:00
Nick Treleaven
71a63eec9b
Show Save As when saving if the document filename doesn't have an
...
absolute path, so command-line new files can be saved without a
prompt, but file templates still prompt the user.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5222 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 17:31:27 +00:00
Nick Treleaven
ca74dd214c
Remove NULL checks when calling g_free() (patch Erik de Castro
...
Lopo, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5221 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 17:21:05 +00:00
Nick Treleaven
9c527a8063
Remove duplicate checks.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5218 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 17:00:41 +00:00
Nick Treleaven
f2770f94c9
Fix 2 minor leaks.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5217 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 16:56:42 +00:00
Nick Treleaven
1fc8a5bc19
Add Find Usage and Go to Tag items to Search menu for easier
...
discovery.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5211 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 11:58:55 +00:00
Nick Treleaven
a6ca20ebbc
Use up/down icons for Previous/Next Error.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5210 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 11:19:27 +00:00
Frank Lanitz
6edf2111c2
Removed not needed NULL check
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5209 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 01:08:31 +00:00
Frank Lanitz
7313c3cbbf
Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the catch.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5208 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 00:42:19 +00:00
Nick Treleaven
8707a1b1eb
Add separator between Find Previous and Find in Files.
...
Add up/down icons for Previous/Next Message.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5207 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-08 15:57:06 +00:00
Nick Treleaven
8e54555bea
Add Close button to the detected file changed dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5206 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-08 14:56:27 +00:00
Nick Treleaven
3e8af38dd6
Increase API for message_window_notebook field addition.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5205 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-08 13:10:44 +00:00
Nick Treleaven
7e8c863298
Add GeanyMainWidgets::message_window_notebook for plugins to append
...
a new notebook page (#3061342 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5204 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-08 12:36:01 +00:00
Nick Treleaven
97ea7fa620
Make TODO item clearer: Use intermediate pointers for common subexpressions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5202 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-26 12:05:50 +00:00
Nick Treleaven
a24d6dca6a
Auto-enable building with included regex if no regcomp function is
...
found.
Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
regex support is required.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-25 11:44:33 +00:00
Nick Treleaven
b6a500dbdf
Fix broken editing of build menu labels.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5198 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-25 10:49:44 +00:00
Nick Treleaven
30ac6b98e8
Rename Matlab -> Matlab/Octave. Datafile name remains the same.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5196 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-24 16:01:14 +00:00
Nick Treleaven
bb2e1cc96e
Include all files if the Find in Files pattern field is enabled and
...
empty.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5195 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-24 12:17:33 +00:00
Nick Treleaven
9add067c04
Remove the "Set build working directories" button from the project
...
properties dialog (patch by Jiří Techet, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5194 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-24 12:07:28 +00:00
Nick Treleaven
d59fcdd506
Make the Properties dialog filename a label and put it first (patch
...
by Jiří Techet, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5193 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-24 11:41:56 +00:00
Nick Treleaven
437d6bc7f7
Only prompt for reloading if the document has unsaved changes
...
(patch by Jiří Techet, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5190 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-23 15:16:39 +00:00
Nick Treleaven
f847f1add6
Add lexer for Txt2Tags (patch by Forgeot Eric, #3020632 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-23 12:14:58 +00:00
Frank Lanitz
1cea0a2a52
Apply a patch by Jiří Techet which is preventing warnings when using -Wmissing-prototypes on compiling. Thanks.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5187 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-21 09:07:46 +00:00
Nick Treleaven
2b11aa9a3e
Remove buildcmd_* accessor functions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5186 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-20 16:04:45 +00:00
Nick Treleaven
a4f51bd0bf
Add TODO items to tidy code for easier understanding.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5185 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-20 15:56:39 +00:00
Nick Treleaven
7f572468e5
Replace GeanyBuildCommand::entries array with separate fields.
...
Similar to r5077 in the bs2 branch, but with less loop unrolling.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-20 15:55:30 +00:00