243 Commits

Author SHA1 Message Date
Nick Treleaven
51418fb982 Prevent segfault when using Goto Tag from an untitled file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1633 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-20 12:42:06 +00:00
Enrico Tröger
eedb6a42a1 Avoid creation of unwanted undo action when opening a saved-as file in a new tab.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1617 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-14 15:47:09 +00:00
Nick Treleaven
363690e9d4 Apply class builder patch from Alexander Rodin (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1616 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-14 13:10:51 +00:00
Nick Treleaven
c2667f0a33 Fix segfault when attempting to rename a new file from the Save As
dialog.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1614 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-13 12:14:58 +00:00
Enrico Tröger
6680f847ea Add "Open file in a new tab" and "Rename file" to the "Save as" dialog for more control over saved file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1612 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-12 16:45:24 +00:00
Nick Treleaven
05cbc77bab Rename some menubar widget names.
Use indentation spelling in variable names.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1611 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-12 15:16:17 +00:00
Enrico Tröger
8cae1cc3ee Add auto focus (to auto focus widgets below mouse cursor).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1609 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-11 08:58:37 +00:00
Enrico Tröger
59bf5cd136 Fix broken help menu item on Windows. Add additional directory separator to generated READMEs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1608 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-10 20:09:22 +00:00
Enrico Tröger
167723236f Improved code to avoid hiding the messages window (caused by last commit).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1599 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-04 16:12:58 +00:00
Enrico Tröger
38d45d2549 Removed unneeded function destroyapp.
Re-maximize the main window on startup when closed in maximized state (closes #1730369).	  


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1598 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-04 15:37:11 +00:00
Enrico Tröger
3f30a4cc96 Applied patch from Dave Moore to add simple code navigation (thank you).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1590 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-02 16:14:07 +00:00
Nick Treleaven
4193196248 Move MyApp::pref_editor_* to editor.h, using editor_prefs struct.
Move INDENT_* enums to editor.h.
Move utils_get_whitespace() to editor.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1587 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-29 16:30:54 +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
39dbad8829 Improve sensitivity of recent files sub menus.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1572 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-25 14:42:43 +00:00
Enrico Tröger
5fdf697f2a Hide notebooks tabs instead of sidebar when toggling additional widgets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1534 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-15 13:02:23 +00:00
Enrico Tröger
1746b6e66c Added sci_get_line_indentation() and sci_set_line_indentation().
Fixed broken increase/decrease indentation when using only spaces for indentation.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1514 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-08 16:03:07 +00:00
Enrico Tröger
5b01f262e3 Added menu item to hide or show all additional widgets and renamed keybinding to menu_toggleall.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1511 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-06 14:49:51 +00:00
Nick Treleaven
b954dc8245 Add Load Tags command in the File menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1463 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-18 15:21:33 +00:00
Enrico Tröger
398ddf6d73 Added context actions to run custom commands on current selection or the current word below cursor.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 18:09:59 +00:00
Nick Treleaven
6575d4f953 Move dialogs_show_includes_arguments_*() to build.c.
Move on_includes_arguments_*dialog_response() to build.c.
Make several build functions static.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1418 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-24 12:40:20 +00:00
Nick Treleaven
b05c0a7f0e Rename dialogs_show_prefs_dialog() to prefs_show_dialog().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1416 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-23 16:47:27 +00:00
Nick Treleaven
7ae070145b Move dialogs_show_keyboard_shortcuts() to keybindings.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1415 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-23 16:34:54 +00:00
Nick Treleaven
f1302af228 Delay updating interface items when switching notebook tabs until
after the page has changed, so it appears to switch pages faster.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1393 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-14 12:03:15 +00:00
Nick Treleaven
20115f6f54 Add 'Switch to last used document' keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1390 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-13 17:00:12 +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
Nick Treleaven
7cb6832039 Speed up loading multiple C-like files when existing documents are
open (by ensuring documents are only colourised once).
Add document_open_files(), document_colourise_new().
Add some missing function parameter names to document.h.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1369 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-06 16:57:09 +00:00
Enrico Tröger
549f19444e Added custom commands to send selected text through some definable commands and replace the selection with the output.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1334 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-25 14:26:55 +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
Nick Treleaven
61146eb323 Support filetype templates for all filetypes (scan
~/.geany/templates/filetype.* at startup).
Default templates are now created in init_ft_templates().
Move on_new_with_template() to templates.c.
Move on_filetype_change() to filetypes.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1305 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-19 13:26:06 +00:00
Nick Treleaven
6ca53610ba Add Remove Markers item to the Document menu.
Remove Error Indicators no longer removes current tag marker.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1302 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-17 18:06:08 +00:00
Enrico Tröger
f548b5b5bb Added possibility to create and open non-existent files from command line (closes #1635094 and #1652917).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1290 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-15 23:56:15 +00:00
Nick Treleaven
b8491a2b7d Move ui_update_tag_list() to treeviews.c.
Make treeviews_prepare_taglist() static.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1249 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-05 16:17:44 +00:00
Enrico Tröger
8da68b6756 Fixed some scrolling issues with session files and files remotely open via the socket. Added need_scrolling flag to document struct.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1233 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-27 18:45:47 +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
fda0a7a362 Removed unintended keybindings for the project menu items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1204 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-18 22:20:30 +00:00
Nick Treleaven
a2f5700e3b Make Go to Tag Definition work for all tags except forward
declarations and externs.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-17 17:42:23 +00:00
Enrico Tröger
716360ee6d Started to implement project management (still unusable).
Added project.[c|h].


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1194 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-15 18:12:32 +00:00
Enrico Tröger
e68f2546d4 When using Save As the returned filename needs to be converted into UTF-8.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1193 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-15 16:13:36 +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
Enrico Tröger
7c231b2361 Try to fix paste problems on Windows (should close #1628951).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1172 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-09 23:53:25 +00:00
Enrico Tröger
66df9594ed Added template for BSD licence.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1161 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-06 15:38:44 +00:00
Enrico Tröger
b53385de1d Removed multiline template because it makes not much sense, instead just comment three lines using the general comment functionality.
Removed special templates for Pascal and some other filetypes using "#" as comment char. The comment characters for fileheader and GPL templates are now added dynamically according to the current filetype.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1160 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-06 15:03:53 +00:00
Enrico Tröger
48bddfce46 Fixed wrong paste behaviour under Windows with some applications.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1137 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-21 16:41:36 +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
055f70da67 Force a file changed check when attempting to open an already open
file.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1119 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 13:04:18 +00:00
Nick Treleaven
f415b70a2f Always switch to the tab when showing the unsaved file dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1117 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 12:34:29 +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
Enrico Tröger
33e1f7e8d0 Fixed wrong insert position when the cursor was moved by keyboard and comments, includes or a date was inserted.
Also fixed some segfault when inserting comments, dates and includes at a position prior to some deleted text.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1112 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-17 19:31:32 +00:00