Enrico Tröger
aa0ad96bb7
Fixed disabled build menu items after opening the first file of a filetype.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1113 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-17 23:57:11 +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
Enrico Tröger
6d3cacaccb
Made the sidebar notebook tabs scrollable.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1111 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-17 17:32:00 +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
8f60640b59
Don't log 'replaced 0 occurrences' status messages.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1109 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-17 17:13:46 +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
Nick Treleaven
7365ae3c9c
Colourise C enum, union and D/Java interface typenames.
...
Add sci_cb_lexer_get_type_keyword_idx() for use when finding if a lexer
supports typename colouring.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1105 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-16 17:18:53 +00:00
Nick Treleaven
7dc865dd1f
Fix memory leak in utils_check_disk_status().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1104 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-16 17:00:41 +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
627e8f00ca
Moved html_entities array to symbols.c.
...
Fixed some checks for the new D lexer and improved detection of comments when auto completing or showing calltips.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1102 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 17:09:05 +00:00
Nick Treleaven
0c2f3d19fc
Fix setting project typenames for the new D lexer.
...
Add sci_cb_lexer_is_c_like() which returns TRUE for C++/D lexers.
Only recolourise C-like files when updating project typename
keywords.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1101 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 12:52:52 +00:00
Nick Treleaven
5eb6cb7bc2
Show D typedefs in bold.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1100 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 12:40:18 +00:00
Nick Treleaven
665eec08f1
Only remove extra space indent after a multiline comment if the
...
indent contains one too many spaces.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1099 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 11:57:48 +00:00
Frank Lanitz
bed7a18d6f
Fixed a typo
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1097 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-14 16:24:23 +00:00
Nick Treleaven
507d6e0e9c
Fix adding a multiline comment character after pressing enter on the
...
last line of a multiline comment.
Remove multiline comment indent after pressing enter on last line.
Prevent invalid memory reads in auto_multiline().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1096 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-14 15:49:10 +00:00
Nick Treleaven
73f0b49d67
Fix updating the symbol list when a file is saved.
...
Update C-like typedef keywords when reloading a file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1095 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-14 12:54:36 +00:00
Frank Lanitz
384fb99703
Update of Hungarian translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1094 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 23:05:24 +00:00
Nick Treleaven
1cac328750
Add 'Invert syntax highlighting colours' Preferences dialog option
...
(hidden for now).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1091 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 16:51:09 +00:00
Nick Treleaven
b71c227f55
Add 'Hide Message Window' popup menu item for each window in the
...
message window area.
Add msgwin_menu_add_common_items().
Move remaining message window setup code to msgwin_init().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1090 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 16:41:25 +00:00
Nick Treleaven
533d61fb68
Fix memory leaks when using GdkPixbuf, PangoFontDescription and some
...
strings.
Capitalize main window title.
Add ui_widget_modify_font_from_string().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1089 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 15:18:49 +00:00
Enrico Tröger
ad37f83878
New files tools.c and tools.h.
...
Added a dialog to insert HTML special characters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1088 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 00:46:14 +00:00
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