Enrico Tröger
d461084743
Add new special template wildcard "{command:...}" to use the output of a command in templates.
...
Adjust template functions to mostly work with GeanyDocuments.
Minor cleanups in the template code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4539 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-24 14:52:46 +00:00
Enrico Tröger
fa49065678
Add utils_copy_environment() and make use of it.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4538 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-24 14:18:00 +00:00
Nick Treleaven
56eb9267bb
Fix GLib warning & beep if trying to insert multiline comment for a
...
filetype that doesn't support it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4537 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-22 16:41:04 +00:00
Nick Treleaven
686b375954
Prevent possible segfault in get_build_group().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4536 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-22 16:23:12 +00:00
Nick Treleaven
2e878dc91b
Edit wording/section names.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4535 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-19 15:48:42 +00:00
Nick Treleaven
a81094c197
Fix some spacing.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4534 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-18 17:17:34 +00:00
Nick Treleaven
cfa2b8b532
Show 'Replaced X matches in Y documents' message when using Replace in
...
Session.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4533 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-18 17:05:13 +00:00
Nick Treleaven
8f3ee7d8a4
Don't use VERSION macro as the demo plugin should be able to be built independently from Geany.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4532 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-18 16:57:37 +00:00
Nick Treleaven
920f5a55b8
Add gcc commands to build a plugin to the HowTo.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4531 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-18 16:55:49 +00:00
Enrico Tröger
7c5e08399b
Remove debug code
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4530 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 21:55:46 +00:00
Enrico Tröger
b0510e97f7
Remove po/LINGUAS from the repository.
...
Generate it automatically if needed by reading available message catalogs from the po directory.
Also respect the LINGUAS environment variable properly.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4529 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 18:37:34 +00:00
Enrico Tröger
8c4a8ff6d0
Remove test code
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4528 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 15:28:19 +00:00
Enrico Tröger
cc19e09d83
Add new signal: "geany-startup-complete" which is sent once all initialization and startup tasks has been done.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4527 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 15:17:30 +00:00
Enrico Tröger
9f8d16340f
Add a little test program which can load and test Geany plugins to verify it is loadable at runtime and all necessary symbols are defined.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4526 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 14:52:28 +00:00
Enrico Tröger
56bb342899
Remove unused variable.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4525 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-17 12:08:30 +00:00
Frank Lanitz
aecf1d05d3
Remove automatic environment closing functions for LaTeX. Will be done by geanyLaTeX plugin in future
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4524 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-16 19:39:23 +00:00
Frank Lanitz
e0eabef6e1
Fix a spelling mistake on French translation.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4523 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-14 09:46:54 +00:00
Enrico Tröger
6165ef9203
Refactor templates_replace_all() into templates_replace_valist() to save some code duplication.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4522 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-12 21:10:46 +00:00
Frank Lanitz
383841ce01
Add editor_insert_text_block() to plugin API
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4521 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-12 18:44:38 +00:00
Frank Lanitz
d4f2d1dccc
Correction of some minor typos inside Russian translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4520 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-03 21:41:52 +00:00
Enrico Tröger
de50230c68
Add keybinding to open the last closed tab ( closes #2912692 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4519 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-01 23:20:21 +00:00
Enrico Tröger
7ba4a81181
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-01 22:55:18 +00:00
Enrico Tröger
1090159b54
Add a checkbox in the preferences dialog to explicitly toggle the visibility of the sidebar ( closes #2923340 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4517 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-31 15:48:39 +00:00
Enrico Tröger
4021505786
Add sci_find_text() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4516 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-31 15:47:56 +00:00
Enrico Tröger
c07d448d30
Rename configure.in to configure.ac.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4515 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-31 15:47:25 +00:00
Enrico Tröger
d0cc72132d
Remember the window position of the Find, Replace and Find in Files dialogs ( closes #2877988 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4514 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:45:49 +00:00
Enrico Tröger
9f9ceb1953
Add new style to change foreground and background colours for calltips (patch by Dimitar Zhekov, thanks, closes #2919229 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4513 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:45:21 +00:00
Enrico Tröger
ce22ffc61e
Show the Find/Goto dialogs if the corresponding toolbar buttons are clicked but their text fields are not part of the toolbar ( #2920807 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4512 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:40:55 +00:00
Enrico Tröger
6505997e2d
Add the default comment character sequence for reStructuredText.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4511 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:40:39 +00:00
Enrico Tröger
0745fa1144
Rewrite and extend the Python tags parsing script to use Python's inspect module to read symbols from Python modules including scope information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4510 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:37:47 +00:00
Enrico Tröger
87a2c53dc7
Fix sensitivity of the Edit->Plugin Preferences menu item if plugins are loaded which do not provide a configuration dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4509 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:35:30 +00:00
Enrico Tröger
09afb37dad
Add editor_get_eol_char_name(), editor_get_eol_char_len() and editor_get_eol_char() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4508 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:23:54 +00:00
Frank Lanitz
3aead1e225
Fix a minor typo inside plugin API reference.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4507 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-26 14:13:35 +00:00
Enrico Tröger
9b347f7c62
Future Geany Windows builds will be based on GTK 2.18.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4506 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 21:51:42 +00:00
Enrico Tröger
ba94d0ce6f
Rename win32_show_file_dialog() to win32_show_document_open_dialog() as it is specialised for opening documents.
...
Implement win32_show_file_dialog() as a generic file open dialog and use it with ui_path_box_new().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4505 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 21:49:23 +00:00
Enrico Tröger
b7b4de41f4
Rename win32_show_project_folder_dialog() to win32_show_folder_dialog() as it is not related and not used by any project management related code.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4504 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 21:03:28 +00:00
Enrico Tröger
baccf0391e
Set the correct parent window for the toolbar editor dialog ( closes #2913334 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4503 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:49:28 +00:00
Frank Lanitz
c0a243c43d
Remove LaTeX tags from SVN. Can be found at http://download.geany.org/contrib/tags/ if needed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4502 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:46:29 +00:00
Enrico Tröger
554ccd4f60
Mark the document only as changed if it is not closed afterwards.
...
Prevent possible segfaults if the document was closed when it is missing from the filesystem.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4501 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:29:45 +00:00
Enrico Tröger
6fdf1cdfb2
Add preferences for hiding single tabs from the messages window (no GUI preferences yet, still to be implemented).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4500 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:07:52 +00:00
Enrico Tröger
93f66de4e2
Add MessageWindow::scribble and use it instead of searching the widget pointer everytime.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4499 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:07:04 +00:00
Enrico Tröger
16f67dc702
When closing a document after it was deleted from the filesystem, don't ask whether it should be saved first.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4498 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 15:50:53 +00:00
Enrico Tröger
fe466fbafc
Re-add unintentionally deleted geany.pot, oops
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4497 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 15:49:31 +00:00
Enrico Tröger
366ebbe90f
Fix LaTeX environment auto completion with CR/LF line endings.
...
Add some sanity checks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4496 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 15:38:14 +00:00
Enrico Tröger
0be8ea8b8c
Make dialogs_show_prompt() more flexible to take up to three button/response code pairs to be shown.
...
Add a close button to the dialog when asking to Re-Save a deleted file (closes #2916954 , based on a patch by Dominik Stadler, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4495 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 15:37:40 +00:00
Enrico Tröger
d91e7b762b
Add document_need_save_as().
...
Show the Save As also for documents created from filetype templates instead of saving them directly with the untitled filename.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4494 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 15:36:52 +00:00
Frank Lanitz
a0c35e487b
Extend auto_latex() function to check whether an environment has been closed within the next lines to avoid auto adding double \end{}.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4493 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 12:03:28 +00:00
Peter Scholtens
1bf9495b9b
Purged unused translation, removed accel-key collision, and more.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4492 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-12 16:21:17 +00:00
Nick Treleaven
e4d225e79a
Refactor/reformat on_replace_dialog_response().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4491 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-09 17:31:56 +00:00
Nick Treleaven
759a051347
Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
...
labels.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4490 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-09 17:16:54 +00:00