Nick Treleaven
fdaa689bff
Rename sci_cb.[hc] editor.[hc].
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1584 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-28 16:07:30 +00:00
Enrico Tröger
085012e2be
Oops, forget to commit with r1535.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1541 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-16 17:09:02 +00:00
Nick Treleaven
9570443c7b
Use open folder dialog for project base path instead of create folder
...
dialog (better for choosing existing directories, and can still
create new folders).
Add optional title parameter for open dialog with ui_path_box_new()
and ui_setup_open_button_callback().
Use Windows folder dialog in ui_path_box_open_clicked().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1526 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-11 16:34:18 +00:00
Nick Treleaven
163890a33e
Move search_get_file_list() to utils.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1520 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-11 11:42:00 +00:00
Nick Treleaven
56404160de
Show number of matches when using Mark command.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1492 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-30 12:43:22 +00:00
Nick Treleaven
7e000a4668
Switch to status window when using Replace In Session to show which
...
documents had replacements made.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1491 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-30 12:32:13 +00:00
Nick Treleaven
ec939b4736
Allow replacing identical text if case sensitive is not checked.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1488 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-30 12:03:46 +00:00
Nick Treleaven
98f64da8f6
Add ui_path_box_new() for creating a path text entry with an open
...
button, which runs a file chooser to set the text entry.
Add ui_setup_open_button_callback() for setting up a button callback
that behaves like the open button in ui_path_box_new().
Use ui_path_box_new() in FIF dialog setup.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1485 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-29 12:03:25 +00:00
Nick Treleaven
8154ee59c8
Disable FIF extra options entry when checkbox is not checked.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1476 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-24 10:52:08 +00:00
Nick Treleaven
1b715a59f6
Move 'Recurse in subfolders option' FIF option below the others.
...
Add tooltip for extra options entry.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1452 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 16:13:57 +00:00
Nick Treleaven
1545968ce3
Save FIF extra options string in the keyfile.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1451 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 15:59:57 +00:00
Nick Treleaven
cfb073a2bf
Add 'Extra options' field and checkbox to FIF dialog.
...
Don't allow arguments appended to Grep command.
Prevent warning when using relative paths with open directory button.
Refactor FIF options code into get_grep_options(), remove
fif_options, fif_match_type.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1435 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-03 15:57:12 +00:00
Nick Treleaven
b8d7e96375
Add recursive option to Find in Files dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1434 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-03 11:04:44 +00:00
Nick Treleaven
68cdcc0e06
Prevent Find in Files directory combo being vertically stretched.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-30 16:34:51 +00:00
Nick Treleaven
51b4f03a2d
Don't beep when pressing escape to close the Find or Replace dialogs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1421 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-24 16:27:19 +00:00
Enrico Tröger
90b01daf35
Fixed several compiler warnings (mainly shadowing local variables and unreachable code).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1376 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-09 13:52:26 +00:00
Enrico Tröger
b1188781de
Oops, forgot to commit.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1355 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-01 22:20:37 +00:00
Nick Treleaven
9a309114c2
Show number of matches when using Find All or Find in Files.
...
Add msgwin_msg_add_fmt().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1345 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-28 12:08:40 +00:00
Nick Treleaven
806dd5be1d
Add descriptions for all .c source files below the file header.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1329 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-24 11:41:56 +00:00
Enrico Tröger
1e34e879c3
Fixed compiler warning.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1306 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-19 15:41:29 +00:00
Nick Treleaven
fd2de222be
Add Mark button as a Find All option in the Find dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1301 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-17 17:39:10 +00:00
Nick Treleaven
4b1cb28462
Show grep command and directory when using Find in Files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1296 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-16 17:09:53 +00:00
Enrico Tröger
8bd2debe4d
Added keybinding and menu entry to open a file which is selected in current tab.
...
Made Insert Special HTML characters insensitive if there are no open tabs.
Removed Zoom items from popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1225 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-24 19:20:12 +00:00
Nick Treleaven
f62a0b6f82
Setup Find Next/Previous to use the same search text after using
...
Find Selected/Prev Selected.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1223 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-24 12:35:05 +00:00
Nick Treleaven
e8a22dee62
Applied patch from Jeff Pohlmeyer to add 'Find Selected' and
...
'Find Prev Selected' Search commands and keybindings (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1222 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-23 17:51:30 +00:00
Enrico Tröger
278458e436
Fixed crashes when using some dialogs after they were closed before.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1209 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-19 23:17:40 +00:00
Enrico Tröger
7b61ad934d
Updated copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:36:42 +00:00
Nick Treleaven
458d2bb47e
Remove unneeded static from current word strings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1131 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-20 15:57:28 +00:00
Nick Treleaven
2697523495
Don't log simple error messages like 'No text to find'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1114 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 11:56:46 +00:00
Nick Treleaven
dfd3332bb9
Remove unneeded 'missing response' debug messages.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1110 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-17 17:21:02 +00:00
Nick Treleaven
daff829df2
Fix using the current word on first use of the Find in Files dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1108 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-17 16:47:08 +00:00
Enrico Tröger
0e66a678dc
Bring the Find, Replace and FIF dialog back to top if they are already shown but lost focus.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1103 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 18:33:29 +00:00
Enrico Tröger
37c230845a
Revert the last change to utils_str_equal() and use it again because g_str_equal() is not NULL-safe.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1059 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-07 16:09:45 +00:00
Enrico Tröger
c461da68f1
Removed utils_str_equal() and use g_str_equal() from GLib because it does exactly the same.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1056 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-06 20:44:32 +00:00
Nick Treleaven
f1e2b62c8b
Update 2 debug messages.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1051 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-04 16:17:18 +00:00
Nick Treleaven
ac3c7c54ad
Edit some strings (for better clarity).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1040 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-01 12:51:33 +00:00
Nick Treleaven
01988714b3
Make ui_set_statusbar() use printf-style arguments & assume the
...
message should not be overridden.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1032 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-25 16:33:38 +00:00
Nick Treleaven
3537731023
When replacing in session, use notebook page order and show a count
...
of the files changed.
Show the filename when replacing text over a range.
Add DOC_FILENAME() null-safe macro to get the filename at doc_idx.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1031 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-25 12:32:22 +00:00
Nick Treleaven
bfd785b72a
Applied patch from Bob Doan to prevent scrolling when wrap searching
...
around a document, and to add a preference for suppressing search
dialogs when wrapping or after Find Next.
Rearranged some Preferences dialog options, added Files tab.
Disable tab position when file tabs are hidden (not new file tab
placement option, it still affects order of pages).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1012 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-18 15:47:28 +00:00
Nick Treleaven
51ea15ae31
Change Find Next/Previous buttons to use better stock icons
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1007 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-17 12:16:20 +00:00
Nick Treleaven
49e2d3ed92
Add search history for Find in Files.
...
Add ui_combo_box_add_to_history() and use to prevent blocks of
duplicates (but not all duplicates) from search history combo boxes,
and limit history to 30 entries.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@999 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 15:57:23 +00:00
Nick Treleaven
bd1137d9e9
Rename utils_strcmp() utils_str_equal() (to avoid return value
...
confusion with strcmp()).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@978 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-08 16:21:46 +00:00
Nick Treleaven
641109ece7
Fix pressing enter to search from the Find dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@965 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-04 11:26:31 +00:00
Nick Treleaven
7b1ca9594f
Scroll matching selection to 1/3 of the view when searching.
...
Add sci_scroll_to_line(); remove sci_goto_line_scroll().
Show 'not found' message on status bar also when enter is pressed in
the search bar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@964 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-03 15:09:13 +00:00
Nick Treleaven
2532555871
Update Save All state after Replace in Session.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@956 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 16:40:21 +00:00
Enrico Tröger
b5ed2b144d
Changed tooltip of checkbox "Close dialog" to be more descriptive.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@952 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 15:53:48 +00:00
Nick Treleaven
bf7dae9c6a
Add Find Previous, Find All in File/Session buttons to the Find
...
dialog.
Move Find Usage code from on_find_usage1_activate to search.c.
Add ui_button_new_with_image(), ui_hbutton_box_copy_layout().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@951 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 15:26:41 +00:00
Nick Treleaven
efddba4053
Reorder Replace All buttons.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@923 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-24 16:15:29 +00:00
Enrico Tröger
df1023213c
Let the Find, Replace and FIF dialogs use the word at current cursor position if there is no selection.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@917 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 16:52: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