Enrico Tröger
84a4e8d817
Added drop down box to the file open dialog to select an encoding.
...
Added possibility to open a file without any character set conversions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@919 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-23 00:05:42 +00:00
Nick Treleaven
03eae9ebc4
Add separate Replace button, rename old button Replace & Find.
...
Add expander to group Replace All options for Replace dialog.
Use Replace All In Session button instead of checkbox.
Add border, update packing for all dialogs in search.c.
Add ui_dialog_vbox_new() for consistent dialog borders.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@914 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 14:56:05 +00:00
Nick Treleaven
06e8521a82
Use Untitled string for unsaved dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@908 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-20 16:40:12 +00:00
Nick Treleaven
df64d0a535
Added 6pt border, changed padding for all dialogs in dialogs.c;
...
also allow ESC to close cancellable dialogs.
Updated unsaved, LaTeX Set Arguments dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@906 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-19 16:26:29 +00:00
Nick Treleaven
93ba5ba45f
Removed the GEANY_MAX_OPEN_FILES limit, using a dynamic array.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@875 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-09 16:08:53 +00:00
Enrico Tröger
76f60f7a03
Made string "Permissions" in the file property dialog translatable.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@874 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-09 13:50:23 +00:00
Enrico Tröger
6af166578d
Fixed compiler warnings and removed unnecessary signal handler.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@822 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-18 08:19:40 +00:00
Nick Treleaven
b89abc8586
Add ui_frame_new().
...
Run set includes build dialogs modally, keeping the same filetype.
Updated set includes & arguments dialog layout.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@817 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-15 14:25:42 +00:00
Enrico Tröger
8dede470b1
Made socket code for detecting running instances working under Windows.
...
Fixed compile warnings under Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@810 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-11 07:41:37 +00:00
Nick Treleaven
6c511f413d
Move on_recent_file_activate, dialogs_create_recent_menu,
...
dialogs_create_build_menu_gen, dialogs_create_build_menu_tex to
ui_utils.c. Also make some functions static.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@807 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-09 14:36:15 +00:00
Enrico Tröger
5a05227d87
Don't quit when an error occurs while saving changed files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@792 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-05 18:33:48 +00:00
Enrico Tröger
6ad79f7610
Fixed some typos.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@778 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-01 15:48:56 +00:00
Nick Treleaven
0bd427bd05
Remove filetypes.h and Scintilla includes from geany.h; Add VALID_DOC_IDX macro
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 20:39:59 +00:00
Enrico Tröger
312579d70a
Added menu items to insert configurable date/time strings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@744 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 12:56:30 +00:00
Nick Treleaven
e3c7a60b17
Add dialogs_show_question_full for custom buttons and extra text; Don't show message dialogs in the window manager taskbar
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@736 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-18 17:22:57 +00:00
Nick Treleaven
6275b82cb3
Change Don't save button icon and add mnemonic
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@734 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-18 11:46:35 +00:00
Enrico Tröger
0dcbacec1f
Use utf8/locale encoding wrappers.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@711 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-13 09:07:10 +00:00
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