Enrico Tröger
7dda3569ee
Added option to toggle usage of Tab button for indentation.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1087 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-12 21:52:48 +00:00
Nick Treleaven
25a97646d9
Make files loaded from the command-line at startup get added to the
...
recent files menus.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1085 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-12 17:21:22 +00:00
Nick Treleaven
f41444243b
Use GNOME HIG Header style capitalization for all menu items.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1084 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-12 12:12:20 +00:00
Nick Treleaven
22047667c8
Link with libsocket if necessary to fix building on Solaris.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1083 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-11 15:54:45 +00:00
Enrico Tröger
f44a2fec4e
Fixed typo in "number" and "string" styles.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1082 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-11 13:48:19 +00:00
Nick Treleaven
794557f0af
Make indenting and unindenting keep the same cursor position when
...
the cursor is within the indentation characters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1081 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-11 12:26:10 +00:00
Nick Treleaven
41279bf573
Show GTK+, GLib runtime version debug message, after socket_init().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1080 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-11 12:20:30 +00:00
Enrico Tröger
871d166375
Use a table to layout the word count dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1079 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-10 22:21:15 +00:00
Enrico Tröger
33425f1a5d
Added option to execute programs in the VTE instead of executing them in a terminal emulation window ( closes #1594456 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1078 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-10 21:29:04 +00:00
Nick Treleaven
a0da812c93
Add keybindings for Next Message and Next Error commands.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1077 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-09 17:03:03 +00:00
Nick Treleaven
0dfb4736cb
Show the Message window when switching to the vte.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1076 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-09 16:23:29 +00:00
Nick Treleaven
9282656ea9
Read the file's modification timestamp after saving because on
...
Windows it can be later than expected (closes #1611530 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1074 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-09 13:07:23 +00:00
Enrico Tröger
a7359bd7e0
Fixed wrong check button state in view menu if message window was shown automatically.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1072 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-09 00:41:31 +00:00
Enrico Tröger
c051bc4014
Improved auto completion of multi line comments and support /+ +/ for D files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1071 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-08 18:13:22 +00:00
Nick Treleaven
0a90306c8f
Use ui_button_new_with_image() in dialogs_show_unsaved_file().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1070 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-08 16:21:52 +00:00
Enrico Tröger
1ed9cad698
Removed compiler warning.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1069 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-08 16:06:07 +00:00
Nick Treleaven
978de6fe6f
Add Next Message and Next Error menu items.
...
Don't select the last build message on completing a build.
Change build_get_menu_items(-1) to return current build menu.
Add Copy popup menu item for Status and Messages windows.
Move on_message_treeview_clear_activate(),
on_compiler_treeview_copy_activate() to msgwindow.c.
Create the Recent files submenu item manually because Glade 2.10
removes empty menus.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1068 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-08 15:50:10 +00:00
Enrico Tröger
d14742366c
Fixed broken overtype update in the statusbar.
...
Removed unused field do_overwrite in document struct.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1067 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-08 15:30:44 +00:00
Enrico Tröger
2a596e1f17
Made the created run script for command execution a bit more portable to other shells than bash (thanks to Nacho Cabanes for reporting).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1066 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-08 09:56:31 +00:00
Frank Lanitz
cc99a7b9fc
Added French translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1062 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-07 18:31:38 +00:00
Enrico Tröger
019859b55b
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@1060 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-07 16:12:01 +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
574d3d3b7e
Added new scintilla lexer for D. It needs testing and there is more work to do to get it working properly.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1058 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-07 15:47:00 +00:00
Enrico Tröger
46dc43f0df
Create new tm file object when changing the filetype of a document to avoid a confused tagmanager.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1057 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-07 15:13:49 +00:00
Enrico Tröger
f0044beb30
Don't insert extra indentation in Python files after a colon if the line is a comment.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1055 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-06 15:32:21 +00:00
Enrico Tröger
c36e8de3c8
Let the LaTeX parser recognise the keyword \chapter.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1054 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-05 16:03:18 +00:00
Nick Treleaven
1edaaa3d6c
Show read-only notebook tabs in green.
...
Add document_get_status() to get the tab colour for the document.
Use ui_update_tab_status() to update notebook tabs and open files
treeview items.
Avoid using GtkTreeIter struct as treeviews function arguments.
Remove unneeded arguments for treeviews_openfiles_add(),
notebook_new_tab().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1053 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-05 10:37:36 +00:00
Nick Treleaven
d7778ce761
Prevent Valgrind warning with unlink(NULL).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1052 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-05 10:23:51 +00:00
Enrico Tröger
fb3b2e4f49
Fixed broken auto completion for LaTeX files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1050 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-04 16:09:57 +00:00
Nick Treleaven
96cc367ecc
Move C/C++ styling_within_preprocessor code out of C-like styles.
...
Use styleset_c_like() when applying C-like Scintilla styles.
Synchronize gsd_reserved_word, gsd_system_word and data/filetypes.d
with styles in data/filetypes.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1048 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-04 14:57:06 +00:00
Enrico Tröger
6a0f57ad2c
Use default GTK foreground colour for filenames on notebook tabs instead of hardcoded colour black.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1047 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-04 14:32:50 +00:00
Enrico Tröger
80870ab68d
Made handle_xml() static.
...
Fixed wrong XML auto completion in PHP files when inserting '>', thanks to Bob Doan for reporting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1046 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-03 23:05:29 +00:00
Enrico Tröger
8b804b51b2
Applied patch from Bob Doan to ignore libtool messages when parsing the output of make (thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1045 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-03 22:43:09 +00:00
Enrico Tröger
956e5ad179
Added new preference to unfold all children of a fold point if the fold point is unfolded.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-03 22:33:46 +00:00
Enrico Tröger
4469c37c42
Added new style for doc keyword error and added some doc key words for Doxygen and Javadoc.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1043 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-03 22:11:42 +00:00
Enrico Tröger
12868db176
Use the same style for unknown doc keywords (/** @something */) as for known keywords.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1042 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-02 18:13:42 +00:00
Enrico Tröger
ab258acf33
Removed invisible place holder menu item in recent files menu.
...
Create separate sub menu for the recent files menu in the toolbar to prevent GTK warnings when using GTK >= 2.10.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1041 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-01 18:44:35 +00:00
Nick Treleaven
e4a974349e
Make the switch to vte menu shortcut override work before the VTE
...
has been realized.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1039 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-01 12:19:09 +00:00
Nick Treleaven
e458304ce3
Make all filetypes except LaTeX use the same build menu, disabling
...
any items that don't apply for the current document.
Move BuildMenuItems struct type to build.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1038 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-30 15:42:52 +00:00
Nick Treleaven
df70d928a8
Disable open toolbutton recent files menu for now because on
...
GTK+2.10 packing the recent files menu twice causes warnings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1037 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-30 14:40:32 +00:00
Nick Treleaven
e39cf19730
Make stop button only apply for killing running programs.
...
Disable build commands when building is in progress.
Make build_menu_update() detect how to call set_stop_button().
Make build_menu_update() also update the LaTeX build menu.
Make build keybindings only active when the equivalent menu item
is also active.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1036 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-29 10:29:34 +00:00
Nick Treleaven
6bd89dc3ee
Show build result on status bar if Compiler window is not selected.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1034 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-27 11:32:45 +00:00
Nick Treleaven
6039dcab50
Change python default compile command to create a compiled python
...
.pyc file (thanks to Bajusz Tamás).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1033 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-25 17:07:59 +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
31aa37fb65
Remove vte_char_size_changed() workaround, not needed since r988;
...
this also fixes an issue where the VTE is limited to 30x5 chars.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1030 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-25 12:23:49 +00:00
Nick Treleaven
d5004f43e4
Add some const char* argument modifiers, remove unneeded static from
...
some local vars.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1029 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-25 12:17:50 +00:00
Nick Treleaven
4c9b41dfe4
Move VTE preferences GUI code to vte.c.
...
Move on_pref_tools_button_clicked() to prefs.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1027 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-24 11:47:29 +00:00
Nick Treleaven
373ec102e4
Add frame for VTE Preferences tab, update packing.
...
Replace ui_frame_new() with ui_frame_new_with_alignment().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1026 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-24 11:11:06 +00:00
Nick Treleaven
fa9decdaf9
Add underscore to default wordchars again (oops).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1023 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-23 15:48:02 +00:00