229 Commits

Author SHA1 Message Date
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
Nick Treleaven
72f287fe0f Move geany_debug prototype to geany.h so that all files can use it
without a dependency on main.h.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@912 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-21 11:16:54 +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
Nick Treleaven
a2c0d34c58 Add whole word only matching option for Find in Files.
Add fixed string matching option for Find in Files.
Make fixed string, case sensitive matching default for efficiency.
Sort filenames passed to Grep alphabetically.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@825 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-20 11:03:33 +00:00
Enrico Tröger
f74ae89922 Escape special characters when shown in the status window after "Replace All" or replacing a selection.
Set the focus to the replace entry widget when pressing the tabulator key in the find entry widget in the replace dialog.
Set the focus to the find entry widget when pressing the tabulator key in the directory entry widget in the FIF dialog.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@783 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-02 23:28:34 +00:00
Enrico Tröger
b1daacc75a Applied patch from Stefan Oltmanns to add the possibility to keep the Replace dialog open.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@766 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-27 17:49:10 +00:00
Enrico Tröger
d79e82f633 Moved prototype for geany_debug() to main.h.
Moved declaration of document struct to document.h.
Keep selection when commenting and uncommenting code.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@750 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 15:47:18 +00:00
Nick Treleaven
a9873e040c Add info to file header text
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@748 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 11:54:33 +00:00
Enrico Tröger
454876a51e Made label text translatable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@725 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 19:38:07 +00:00
Nick Treleaven
6823698d0c Use guint for search_get_file_list length
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@719 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 12:26:15 +00:00
Nick Treleaven
7ebb187b26 Store build information instead of using app->cur_idx; Assume C-like warning messages when running make when the current file is a Makefile; Moved some msgwin setup and cleanup code to msgwindow.c; Moved utils_parse_compiler_error_line to msgwindow.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@714 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-14 15:02:52 +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
ec66530ba6 Add select directory button for Find in files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@708 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-12 21:38:36 +00:00
Nick Treleaven
a830f3326f Use hbox packing in Find and Find in files dialogs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@704 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-12 13:30:52 +00:00
Nick Treleaven
1520c6bfe2 Use hbox packing in Find and Find in files dialogs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@703 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-12 13:07:58 +00:00
Nick Treleaven
d68ffee4be Use hbox packing in Find and Find in files dialogs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@702 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-12 12:51:56 +00:00
Nick Treleaven
303d2ada70 Enable case sensitive when regex search enabled; Some label text changes for the dialogs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@700 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-12 12:04:14 +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
35a1df7ffc Remember Find in files directory for opening grep results
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@650 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-29 12:06:00 +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
Nick Treleaven
09d5b5fdd9 remove unneeded header
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@558 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-14 16:59:07 +00:00
Nick Treleaven
4b85d71eb8 Give accurate message on finishing finding in files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@556 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-14 15:50:29 +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