67 Commits

Author SHA1 Message Date
Nick Treleaven
7c4f9843ed Auto destroy the open dialog size group
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@701 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-12 12:49:22 +00:00
Nick Treleaven
f75fd1402a Group search related code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@698 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-11 21:12:49 +00:00
Nick Treleaven
7d8637f549 Fixed all sign comparison warnings
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-08 13:01:50 +00:00
Nick Treleaven
4f7860b1a2 Disable word and word start matching when regexes are enabled; Don't hide the Find dialog after searching; use Close button.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@669 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-04 12:21:41 +00:00
Enrico Tröger
53d91a4c55 Fixed wrong behaviour of Save As on unchanged files.
Don't set file as changed when changing encoding to the same one.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@663 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-02 10:50:53 +00:00
Enrico Tröger
85af83f6ae Added some options to the Find in files dialog, made search directory editable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@647 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-28 18:37:32 +00:00
Enrico Tröger
d561c70125 Let the colour chooser pick the colour under the cursor(Win32 code). Added some sanity checks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@643 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-27 23:17:31 +00:00
Enrico Tröger
31c17438cb Removed unused colour parsing functions.
Let the colour chooser pick the colour under the cursor.
Fixed bug in parsing strings containing hex values, modified the styles to keep the syntax highlighting consistent.
Removed startup warning.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@641 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-27 20:57:13 +00:00
Enrico Tröger
4e122c97b7 Removed macro GEANY_WIN32, use G_OS_WIN32 instead.
Introduced global variables for PACKAGE_DATA_DIR and  PACKAGE_LOCALE_DIR, removed macro DOCDIR (these changes are important for the Windows port).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@639 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-26 17:02:16 +00:00
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