58 Commits

Author SHA1 Message Date
Enrico Tröger
902379738b Removed some unneeded functions to avoid duplicate code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@629 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 12:46:08 +00:00
Enrico Tröger
d05945cfa1 Convert Unicode strings to wide characters to avoid weird display.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@623 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 00:09:28 +00:00
Nick Treleaven
6bebea40d4 Wait for Save as dialog to run before closing tab
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@621 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-24 21:18:06 +00:00
Enrico Tröger
ab05f39d24 Renamed document element unicode_bom in has_bom.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@611 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-23 15:45:05 +00:00
Nick Treleaven
e389341f6c Make Find and Replace dialogs more compact
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@607 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 19:11:58 +00:00
Enrico Tröger
4ec2bd121b Added Unicode BOM detection.
Added "Reload as" menu item to force opening a file with a specified encoding(both were patches from Stefan Oltmanns).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@600 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 01:29:10 +00:00
Nick Treleaven
b625529c8b Prevent using Find in files for unnamed files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@599 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-21 19:35:33 +00:00
Nick Treleaven
96a4a059df Added Find button to Replace dialog to skip a match; Change Replace button to find first & use current selection; Ask whether to wraparound when replacing and no next match is found
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@597 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-20 21:19:18 +00:00
Nick Treleaven
c417607f27 Share find/replace common checkbox setup code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@591 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-20 14:52:26 +00:00
Enrico Tröger
8b09a2935d Improved replacing escape sequences in Find and Replace dialog (thanks to Stefan Oltmanns).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@586 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-19 11:30:59 +00:00
Nick Treleaven
b9f6cf6987 Use more POSIX-like syntax for regular expression bracket matching; Prevent searching backwards with a regex (unsupported); Scroll in view after the last replacement for replace all/selection. Also move hiding the replace dialog out of document.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@582 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-18 17:43:22 +00:00
Enrico Tröger
7bbccd884d Added option to replace escape sequences in Find and Replace dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@578 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-18 10:48:51 +00:00
Nick Treleaven
1c8d62ed5d Added basic Find in files search functionality.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@551 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-13 14:30:44 +00:00
Enrico Tröger
100987ee91 Improved toolbar popup menu.
Added new preferences tab for toolbar settings, several toolbar buttons can be hidden.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@548 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-11 14:15:56 +00:00
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
Nick Treleaven
d9361d4328 Add keybinding for Make object, update Make descriptions
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@536 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-06 09:43:10 +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
Nick Treleaven
2b73b12cb7 Fix a problem with the recent files menu
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@530 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-03 12:06:13 +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
f1529b0435 Little redesign of the preferences dialog.
New options for setting the placement of notebook tabs.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@525 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-02 16:21:35 +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
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
f375a6be68 Added missing shortcut for "Close".
Added option in the preferences dialog to replace tabs by spaces when saving a file.
Added option for default encoding for new files.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@470 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-21 18:54:07 +00:00
Enrico Tröger
67ac0f1888 Fixed a segfault when pressing shortcut for "Find Usage" and there is no open file. Removed unneeded label padding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@460 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-18 17:14:32 +00:00
Nick Treleaven
34434851ee Make Keyboard shortcuts dialog scrollable
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@457 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-18 12:19:30 +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
Enrico Tröger
89993492c3 Made preferences dialog transient for the main window.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@428 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-10 16:22:51 +00:00
Enrico Tröger
e14cbbae1c Added labels for each defined shortcut to have a nicer representation in the dialogs. Hide make and terminal settings in the preferences dialog under Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@425 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-08 15:12:55 +00:00
Enrico Tröger
a3a5287a6d fixed compiler warning "not enough variable arguments to fit a sentinel"
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@412 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-05 16:04:28 +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
96baed84bf Fix dialog path warnings for command-line files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@388 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-02 12:00:33 +00:00
Enrico Tröger
f4b7b988ec Removed unneeded function dialogs_show_fifo_error(), fixed small memory leak in dialogs_show_question()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@375 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-30 15:27:38 +00:00
Enrico Tröger
9e29121809 made recent files menu item insensitive when the list is empty
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@370 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-28 22:14:17 +00:00
Nick Treleaven
91f727dad0 Remove Replace dialog set default reponse
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@369 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-26 17:27:25 +00:00
Nick Treleaven
545657d9de Set Replace dialog default response
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@367 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-26 17:03:32 +00:00
Nick Treleaven
350bad5c10 Add mnemonics to Replace dialog buttons, reorder
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@366 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-26 15:51:32 +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
Nick Treleaven
6c17ed1d83 fix pressing enter to open more than one file in the open file dialog
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@346 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-20 12:52:24 +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
77b3e938c0 added catalan translation contributed by Topi
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@329 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-14 16:07:30 +00:00
Enrico Tröger
28bb0f8e66 improved file permission display if they cannot be read (e.g. on Windows)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@306 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-05 16:37:35 +00:00
Enrico Tröger
002503decd several bugfixes and improvements
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@281 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-27 18:06:35 +00:00
Enrico Tröger
175c877ec5 applied patch from Nick Treleaven which improved inserting of current selection in the find and replace dialogs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@240 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-10 21:40:20 +00:00
Enrico Tröger
355f54d7d9 closed #1441359
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@230 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-02 21:12:27 +00:00
Enrico Tröger
e8886e1af4 made "make" build menu items sensitive for C header files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@220 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-25 22:26:43 +00:00
Enrico Tröger
9cd90fa518 moved font selection dialog from glade code to dialogs.c, added the possibility to delete an existing fifo in the case, that Geany crashed previously
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@215 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-22 13:46:20 +00:00
Enrico Tröger
213f368c13 removed some items from the document menu to the preferences dialog, removed file save dialog from interface.c to dialogs.c, added toggle for line numbers, added command line option -p or --no-pipe to ignore a running instance of Geany and force opening a new instance
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-14 22:07:55 +00:00
Enrico Tröger
3b35e157cf rewrite of the file open dialog, now it enters a directory instead of trying to open it in Geany (closes #1421776), improved the find and replace dialog, an existing selection is inserted, fixed focus settings
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-10 20:57:09 +00:00
Enrico Tröger
9fe2718a33 set the Open File dialog directory to the same directory as the current file (thanks to Nick Treleaven for this patch)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@155 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-26 21:32:46 +00:00