1809 Commits

Author SHA1 Message Date
Enrico Tröger
34438f1290 Avoid setting line number margin twice when creating new tabs, also don't call gtk_notebook_set_current_page() explicitly as it isn't necessary.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2439 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-02 13:58:25 +00:00
Enrico Tröger
9602b91e0f Ignore notebook_switch_page signal handler when closing projects to speed it up a little bit with many session files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2437 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-02 13:48:39 +00:00
Enrico Tröger
8d497729d9 Fix GTK warnings in open file dialog by using a positive response ID for the View button.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2436 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-02 13:26:38 +00:00
Nick Treleaven
d044780e39 Make navqueue_goto_line() ignore an invalid old document index, and
ignore any documents that don't have a tagmanager work object.
Make Next Error and Next Message commands add positions to the
navqueue, so the user can return to where they were and also so they
can move backwards through error and message items.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2434 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-01 13:12:29 +00:00
Nick Treleaven
145b03bfff Move Load Tags item from File to Tools menu.
Capitalize Page Setup item.
Add separator before Plugin Manager item.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-01 12:01:49 +00:00
Nick Treleaven
099fd5f64b Add 3 remaining mnemonics for popup menu, copy Insert include
mnemonic - even though these have conflicts, just let GTK toggle
between them.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2431 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-31 16:07:06 +00:00
Nick Treleaven
9dd3382343 Add missing mnemonics (except for 3 popup menu items, ran out of
letters).
Capitalize some menu items.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2430 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-31 13:09:56 +00:00
Enrico Tröger
07b666d0a9 Fix usage of wrong pointer when showing the toolbar popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2429 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-28 17:06:41 +00:00
Enrico Tröger
813849e8c8 Unfold hidden code when the fold point modified (e.g. commented out, fixes #1923350).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2427 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-28 16:16:55 +00:00
Nick Treleaven
380b00fcb4 Fix segfault with Run command when a project is open and the current
file's filetype has no run command.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2426 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-27 18:07:43 +00:00
Nick Treleaven
a17610af72 Ignore documents with no absolute path when saving session files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2425 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-27 17:26:09 +00:00
Nick Treleaven
d8bca75e41 Check file on disk for changes (with timeout) when pressing a key.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2424 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-27 17:16:53 +00:00
Nick Treleaven
b700989ea8 Remove unnecessary variable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2423 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-27 16:45:18 +00:00
Nick Treleaven
6b88c068a1 Split document_create_new_sci() into document_create() and
create_new_sci().
Rename filename parameter utf8_filename.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2422 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-27 13:59:51 +00:00
Nick Treleaven
164d5d102b Fix getting asked whether to reload a file twice, when a disk check
is forced immediately after a disk check has been done.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2421 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-27 13:23:09 +00:00
Nick Treleaven
865308c5d6 Add note about possibly using bsearch in symbols_find_tm_tag().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2419 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-27 13:18:15 +00:00
Nick Treleaven
3d65154b37 Document most of GeanyData, add links to files.
Make PluginData alias deprecated.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2418 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-27 13:13:09 +00:00
Enrico Tröger
35602e14ca Add support for resolving Windows shortcuts when opening files and open the shortcut's target.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2416 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-26 18:53:59 +00:00
Nick Treleaven
07d37be882 Rename VERSION_CHECK PLUGIN_VERSION_CHECK, but keep a deprecated
alias so outside plugins still compile.
Update our plugins to use this.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2411 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-26 17:10:18 +00:00
Frank Lanitz
d5470351eb Update of Brahmann's email
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2402 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-24 17:44:31 +00:00
Enrico Tröger
f947152af9 Add document_set_filetype() and filetypes_get_from_uid() to
the plugin API.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2400 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-24 17:29:50 +00:00
Nick Treleaven
3e98f6337c Fix memory leaks when using tm_tags_extract().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2399 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-24 17:24:39 +00:00
Nick Treleaven
bdf2a271f4 Reuse find_work_object_tag() in find_workspace_tag().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2398 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-24 17:02:50 +00:00
Nick Treleaven
2431e450a0 Make Go to Tag commands look for the tag in the current document
before searching the workspace.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2397 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-24 16:44:43 +00:00
Nick Treleaven
291cff8c9d Redo ABI change (it was for r2389 editor.h change, oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2396 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-24 16:11:52 +00:00
Nick Treleaven
081adcc55c Add note about allowing appending of keybindings to groups without
breaking the API.
Undo unnecessary ABI change.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2395 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-24 13:40:01 +00:00
Nick Treleaven
91e8ffdbce Fix comparison always true warning, use doc_array->len instead of number of notebook tabs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2393 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-24 13:23:01 +00:00
Nick Treleaven
056c296851 Fix Python auto-indentation when line endings are set to CR/LF.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2392 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-24 13:09:29 +00:00
Enrico Tröger
dd684a529f Small improvement in counting changed documents for Save All update.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2391 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-23 16:43:01 +00:00
Enrico Tröger
1cf46e4c8e Add shortcut to switch to the sidebar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2390 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-23 16:32:36 +00:00
Enrico Tröger
99a3d8e3c3 Add preference for not using the current word under the cursor when opening Find dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2389 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-23 16:29:43 +00:00
Enrico Tröger
945a41548f Update Makefile parser from CTags SVN and improve it to detect targets in Makefiles.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2388 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-23 15:25:42 +00:00
Enrico Tröger
5c01fffbc8 Add styles to customize line and search marker and add translucency setting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2387 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-23 14:57:53 +00:00
Enrico Tröger
07dd9217ba Allow selecting items in the symbol list by pressing Enter or Space.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2386 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 18:44:12 +00:00
Enrico Tröger
e895402cf0 Fix crash on Windows due to missing error message when a process spawning fails.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2385 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 18:29:25 +00:00
Nick Treleaven
ff76abfcd3 Fix asking detect reload question again if the user doesn't respond
within 10 seconds (oops).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2382 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 17:10:08 +00:00
Nick Treleaven
1e387f4dc5 Replace untitled file header filename after Save As and add to recent
files on Windows too.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2381 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 16:59:30 +00:00
Enrico Tröger
30528921d3 Update TCL parser from CTags SVN which adds new symbol types for
classes and methods (closes #1918748).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2380 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 16:47:17 +00:00
Enrico Tröger
57fa3d0f16 Use configure's --docdir option when installing and using the documentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2378 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 14:28:26 +00:00
Nick Treleaven
c248368faf Only use filetype detection after Save As, not on every save when the
filetype is None (fixes #1891778).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2377 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 14:02:59 +00:00
Enrico Tröger
a0b1e7a692 When opening the manual on the website, include version string to ensure the appropriate manual version is shown.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2376 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 13:42:31 +00:00
Nick Treleaven
5bb5ff514f When closing tabs that were opened left-to-right, don't temporarily
focus the previous tab when closing tabs, to prevent unnecessary
checking for disk changes.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2375 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 13:05:47 +00:00
Nick Treleaven
c57a749d69 Load and save plugin keybindings when toggling plugins in the Plugin
Manager.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2371 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 16:17:59 +00:00
Nick Treleaven
e740d9208a Fix bug with showing macro list items all on one line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2369 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 15:48:03 +00:00
Nick Treleaven
230bfcf800 When detecting a change on disk, reload the file after all pending
Scintilla messages have been processed, to prevent problems with
partial colourisation.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2367 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 13:09:19 +00:00
Nick Treleaven
2a67b8e0fa Rename load_plugins() to load_all_plugins(), add comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2364 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-19 17:42:03 +00:00
Nick Treleaven
df6e28335f Set mnemonic for Plugin Manager.
Use GTK_RESPONSE_CANCEL for Plugin Manager dialog so pressing escape
closes the dialog.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2363 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-19 17:15:28 +00:00
Enrico Tröger
bd9881d162 Add ".xhtml" extension for filetype XML (#1914587).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2362 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-18 16:38:01 +00:00
Enrico Tröger
1c04310ac1 Save sorting order of the symbol list when saving a file (#1917262).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2361 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-18 16:09:11 +00:00
Enrico Tröger
716400d4af Fix modal dialog problems on Windows by not setting taskbar hint (closes #1916994).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2358 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-17 18:26:22 +00:00