Nick Treleaven
601fb23da4
Add foreground colouring to messages items.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1887 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-17 16:33:17 +00:00
Nick Treleaven
ef1399e000
Rename MyApp -> GeanyApp.
...
Move most GeanyApp fields into:
GeanyPrefs for (most) Preferences dialog fields;
UIPrefs for non-Prefs dialog visual settings;
UIWidgets for less commonly used widgets such as menuitems and
dialogs;
GeanyStatus for various states the application can be in.
Move some GeanyApp fields into EditorPrefs (and one into each of
CommandLineOptions and SidebarTreeviews).
Add plugin API prefs field.
Move disabling build widgets on Windows to build_init().
Make build callbacks static.
Add treeviews_init() to prepare popup menus and open files treeview.
Replace treeviews_find_node() with treeviews_select_openfiles_item().
Make utils_isbrace() and utils_is_opening_brace() take an
'include_angles' argument (to separate from editor_prefs).
Make 'Goto matching brace' keybinding include <> angle brackets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1815 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-23 11:34:06 +00:00
Nick Treleaven
25e596bf0d
Add allocation for NULL-terminated selection ends.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1765 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-30 10:40:09 +00:00
Nick Treleaven
8fe0974d8a
Capitalize some dialog titles.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1694 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-12 11:59:13 +00:00
Enrico Tröger
9ff36c9a18
Also change background colour of search bar when using find next/previous after using the search bar.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1692 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 17:44:43 +00:00
Enrico Tröger
4d769f61b0
Fix usage of wrong dialog pointer.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1667 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-05 15:44:08 +00:00
Enrico Tröger
6069531e78
Fix focus problem when using the Find dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1663 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-04 17:08:53 +00:00
Enrico Tröger
b737d4b963
Improve many mnemonics in the Search, Find in Files and Replace dialogs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1654 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-29 16:01:40 +00:00
Nick Treleaven
9f471c5bec
Fix hang with Find All/Usage with regex '^' or '$'.
...
Fix replacing '^' or '$' regexes.
Use double quotes for search strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1650 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-28 16:00:29 +00:00
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