85 Commits

Author SHA1 Message Date
Enrico Tröger
a1bca612ae Added "Replace in all open files" option in the replace dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@546 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-10 16:46:29 +00:00
Enrico Tröger
0f061ee31a Improved behaviour of toggle sidebar after a restart. Introduced new flag sidebar_visible, renamed configuration keys.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@538 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-07 14:34:43 +00:00
Nick Treleaven
6ddd449683 Add Make object command to compile the current file. Added some separators and renamed Build with make items
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@535 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-05 15:09:20 +00:00
Enrico Tröger
086aeb4c4c Added option to disable the VTE follows path feature.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@527 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-02 18:34:03 +00:00
Enrico Tröger
b28e30b389 Improved "Find usage", so it displays not "null" for unsaved files in the results, and unsaved file are also clickable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@524 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-02 11:32:06 +00:00
Nick Treleaven
c1068c02c2 For Find Usage, ignore unnamed files (prevents a NULL filename GLib warning)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@523 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-02 11:21:31 +00:00
Nick Treleaven
cee4ebf37c Fix a segfault on Go to tag defn/decl if no files have tags. Add utils_find_tm_tag
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@516 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 13:16:52 +00:00
Nick Treleaven
e1f43a4db0 Prevent a segfault if the VTE has not been loaded
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@514 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 10:44:15 +00:00
Enrico Tröger
22ab86a40b Added "Select All" menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@510 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-30 13:42:53 +00:00
Enrico Tröger
df49ea7888 Finally fixed the second call of the switch_page callback.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@509 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-30 12:56:09 +00:00
Enrico Tröger
1451d8f72d Change the path in the VTE widget when switching between files according to the path of the current file.
Process the switch_page callback only once.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@508 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 23:51:32 +00:00
Enrico Tröger
3366665030 Create a new tm_source_file object if a file is renamed, otherwise tagmanager won't work correctly.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@507 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 19:08:21 +00:00
Enrico Tröger
b3dd894a5e Implemented simple printing support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@505 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 17:14:52 +00:00
Nick Treleaven
42a206085e Apply fonts in Preferences when they are set and only if they have changed. Rename utils_set_font to utils_set_editor_font. Remove an old comment in document_open_file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@503 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 16:55:29 +00:00
Enrico Tröger
852624b60e Renamed tools settings from build_* in tools_*.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@502 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 14:00:09 +00:00
Enrico Tröger
99bb4a9977 Parse stdout of compiler output too.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@494 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 15:29:33 +00:00
Enrico Tröger
f741c89b4f Fixed bug which prevented tag creation for the first opened file.
Removed unused code.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@491 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 17:44:18 +00:00
Nick Treleaven
8e5e2ec065 Add clipboard functionality for Scribble widget
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@485 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 20:18:24 +00:00
Nick Treleaven
d4405d5856 Add clipboard functionality for find and go to line widgets
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@484 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 19:57:07 +00:00
Enrico Tröger
4a8efb4d80 Remember the active page when toggling the sidebar. Simplified code for toggling messages window.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@482 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 17:02:27 +00:00
Nick Treleaven
efe658834e Enable drag reordering of tabs for GTK+2.8, and a temporary workaround for GTK+2.6. Add notebook_new_tab and update document_create_new_sci to use it; also remove on_tab_close_clicked
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@479 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 12:13:35 +00:00
Enrico Tröger
378d614885 Added some sanity checks to prevent crashes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@477 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 18:46:08 +00:00
Enrico Tröger
b66243f1e1 Reorganised C include file items, added C++ headers.
Insert include statements and comment templates at mouse pointer position instead of cursor position.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@472 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-22 14:29:55 +00:00
Nick Treleaven
13b673d8ed Go back to the same line when reloading. Fix start selection bug when clicking in the current file if it has changed
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@468 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-20 11:55:34 +00:00
Enrico Tröger
2b362ef8a7 Implemented encoding support to switch between different encodings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@467 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-19 18:31:17 +00:00
Nick Treleaven
a59a4ae006 Don't open files or go to errors automatically whilst compiling. Rename utils_goto_workspace_tag to utils_goto_file_line
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@462 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-19 13:27:09 +00:00
Nick Treleaven
f8c92268f7 Use correct current_word buffer for popup menu item keybindings; also use GEANY_MAX_WORD_LENGTH
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-18 20:21:19 +00:00
Nick Treleaven
e885f520ed Don't include keybindings.h in geany.h
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@452 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-16 19:58:26 +00:00
Nick Treleaven
6010e5bf13 Cache the current function name for efficiency in utils_get_current_function, other related fixes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@451 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-16 17:11:09 +00:00
Nick Treleaven
3b559efbdb Execute: only save file if the run command uses it
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@449 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-16 13:15:28 +00:00
Enrico Tröger
9c77b56d2a Implemented code for setting indicators while compiling.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@443 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-13 20:03:44 +00:00
Enrico Tröger
e8cb22a8d7 Improved the handling of GIOChannels(for named pipes), ensure they are closed in a proper way.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-11 19:03:39 +00:00
Nick Treleaven
79b4256758 Fix bug with Go to tag defn/decl when the filename is a link (TagManager dereferences linked filenames)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@421 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-07 21:24:15 +00:00
Nick Treleaven
e62ba3d4c0 Use the character position under the mouse click for Go to definition/declaration and for overridden middle click text paste
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@420 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-07 19:25:20 +00:00
Nick Treleaven
01ef13c18c Fixed segfault when inserting comments and no filetype is set
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@419 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-07 16:50:41 +00:00
Enrico Tröger
4a8003f848 test own pasting code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@418 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-06 19:06:38 +00:00
Enrico Tröger
be5a3fe16e Added dialog to show defined keyboard shortcuts, this replaces the previous link to the documentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@411 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-05 15:12:40 +00:00
Nick Treleaven
9f7f6d20af Fix Go to tag declaration/definition
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@391 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-02 14:26:34 +00:00
Nick Treleaven
9f3bd2120d Fixed nasty hang when closing a tab and both the next tab and the first tab files have been externally modified
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@365 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-26 12:22:39 +00:00
Nick Treleaven
42e71c36cf Make Replace in selection non-incremental and use single Undo blocks for this and for Replace All
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@364 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-25 15:32:03 +00:00
Nick Treleaven
eb2ed7afb3 created Search menubar item with Find items from Edit menu, added Find Previous and Go to line commands.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@359 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-23 19:31:09 +00:00
Nick Treleaven
810714deb1 insert the file type extension and fix a warning when inserting a fileheader in a new document
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@357 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-22 15:28:48 +00:00
Enrico Tröger
daebef5351 - do not create VTE settings in the preferences dialog if VTE is disabled at runtime
- added option to preferences dialog to disable load of VTE at startup


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@354 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-22 00:25:19 +00:00
Enrico Tröger
f0cfbf3b0b src/dialogs.c, src/about.c, src/callbacks.c, configure.in: rewrote about dialog to reduce code size, added subversion revision
src/highlighting.c: bugfix


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@352 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-21 17:51:22 +00:00
Enrico Tröger
d47e10998f make keyboard shortcuts user-definable
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@342 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-19 17:18:06 +00:00
Enrico Tröger
f5a9d78fcc added previously code to prevent opening of non-text files, fixed detection of C++-destructors and other improvements in utils_get_current_tag()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@332 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-15 19:44:09 +00:00
Enrico Tröger
10e4754b27 added code for parsing python error messages when clicked in compiler message window
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@324 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-12 16:11:14 +00:00
Enrico Tröger
7a6efd0667 improved tag list updating, should be a bit faster on opening files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@322 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-10 23:06:47 +00:00
Enrico Tröger
2be53d0f07 added template support for filetypes with comment character #, updated GPL to the current address of the FSF
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@318 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-10 19:54:44 +00:00
Enrico Tröger
12d5ca0eac save current file if it is executed (e.g. shell scripts)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@307 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-08 01:35:56 +00:00