Enrico Tröger
99806172b2
Enabled drag and drop for the whole main window to be able to drop files even if no tabs are open.
...
Moved code for getting the file list to document_open_file_list().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1004 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 23:12:13 +00:00
Enrico Tröger
c99b178e03
Fixed small memory leak.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1003 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 18:21:46 +00:00
Enrico Tröger
c8b497d1ca
Don't unload the VTE module on exit to avoid crashes on some systems.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1002 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 18:20:13 +00:00
Frank Lanitz
0edae00148
Added traditional Chinese translation (zh_TW)
...
Update of German and simple Chinese (zh_CN) translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1001 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 17:43:21 +00:00
Nick Treleaven
7146b60c31
Remove the stop button in build_exit_cb() when using Make commands.
...
Fix set_stop_button() when using Make when the current file has no
filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1000 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 17:07:15 +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
Enrico Tröger
74b5cdbc06
Tried to fix wrong styling at "end.".
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@998 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-14 23:42:13 +00:00
Frank Lanitz
c6852ee2ee
Small fixes
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@996 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-14 17:39:40 +00:00
Frank Lanitz
bc4b8fb16d
Added simple Chinese (zh_CN) translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@995 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-14 17:16:11 +00:00
Nick Treleaven
c3300b2da9
Add NULL-safe FILETYPE_ID macro to get filetype::id from pointer.
...
Allow insertion of GPL notice and file header when the filetype is
not set.
Add commenting for PHP & HTML GPL notice and file header templates.
Add make_comment_block() to templates.c.
Move document_prepare_template(), filetypes_get_template() to
templates.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@994 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-14 16:03:25 +00:00
Enrico Tröger
3ae8ce6ebe
Added missing inclusion of signal.h.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@993 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-14 01:27:12 +00:00
Enrico Tröger
fd09ada211
Use plural for line commentation description labels.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@992 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-13 22:26:55 +00:00
Enrico Tröger
9b7569e3ef
Added new filetype VHDL.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@991 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-13 22:11:19 +00:00
Nick Treleaven
e512e663c5
Fix invalid memory write in on_exit_clicked().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@990 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-13 16:47:26 +00:00
Nick Treleaven
0c233f9b3b
Fix invalid memory read in sci_cb_get_indent().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@989 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-13 16:38:39 +00:00
Nick Treleaven
78d474e3d8
Fix message window horizontal scrollbar being too tall on some systems (thanks to Rob van der Linde).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@988 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-12 15:29:40 +00:00
Enrico Tröger
dbd82669c6
Described new folding_horiz_line setting in filetypes.common.
...
Added documentation for stopping of running processes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@987 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-11 18:53:38 +00:00
Enrico Tröger
59470aa381
Extended the build_info struct with useful information of the current running command.
...
Added stop button(using the Run button) to cancel the execution of a command like Run, Compile or Build.
Fixed a typo in an error message.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@986 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-11 18:51:33 +00:00
Enrico Tröger
420011adc6
Fixed a segfault when closing preferences dialog and loading VTE was enabled after it was disabled.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@985 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-11 00:24:04 +00:00
Enrico Tröger
bae191b373
Probe different versions of libvte.so, not only libvte.so and libvte.so.4.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@984 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-11 00:07:49 +00:00
Nick Treleaven
ad74b0bc87
Fix a possible bug with g_file_test when opening files at startup.
...
Show warning message on status bar if some session files couldn't be
loaded, showing debug messages for each session file that fails.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@980 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-09 15:52:31 +00:00
Nick Treleaven
bd1137d9e9
Rename utils_strcmp() utils_str_equal() (to avoid return value
...
confusion with strcmp()).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@978 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-08 16:21:46 +00:00
Nick Treleaven
35d8a54ebd
Never show the sidebar if app->show_sidebar is false (prevents
...
showing Sidebar after setting Preferences, when user has chosen to
hide the Sidebar).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@977 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-08 11:57:20 +00:00
Nick Treleaven
67ce2f51b0
Move utils_get_tag_list() to symbols.c, make utils_find_tm_tag()
...
static.
Move symbols_get_global_keywords() to get_global_typenames() in
highlighting.c.
Add symbols_find_tags_as_string(), symbols_get_tag_list(),
symbols_get_macro_list(), symbols_find_in_workspace() from various
tag-related existing code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@976 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-08 11:42:05 +00:00
Enrico Tröger
829f0e3696
Don't set width of file open dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@975 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-07 23:32:30 +00:00
Enrico Tröger
491288aec2
Added an option to draw an horizontal line above or below folded text.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@974 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-07 18:53:39 +00:00
Enrico Tröger
aecd641ce3
Fixed unintentional appearance of sidebar after it was hidden and the preferences dialog was closed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@973 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-07 13:33:50 +00:00
Nick Treleaven
20637b939b
Don't close any tabs when quitting until all unsaved changes have
...
been accounted for; switch to each unsaved file before showing the
unsaved dialog.
Remove limit of ~256 chars for session filenames.
Make dialogs_show_unsaved_file() fail if the Save As dialog was
cancelled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@972 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-07 11:24:22 +00:00
Enrico Tröger
6de433fe7b
Little code cleanup in brace_match().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@971 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-06 21:02:03 +00:00
Enrico Tröger
84fc71ef56
Added Java keywords true and false.
...
Converted "NULL" to lower case.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@970 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-06 20:56:18 +00:00
Enrico Tröger
c037341315
Fixed (hopefully) wrong indentation in some cases when inserting '}'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@969 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-05 21:20:22 +00:00
Enrico Tröger
dd47b2bf62
Applied patch from Bob Doan to do not set keywords for XML documents(thanks).
...
Made styleset_markup() static.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@968 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-04 22:38:11 +00:00
Nick Treleaven
d6500e59ea
Recognise *.xsl, *.xslt filenames for XML filetype.
...
Recognise 'GNUmakefile' filename for Make filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@967 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-04 12:49:55 +00:00
Nick Treleaven
641109ece7
Fix pressing enter to search from the Find dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@965 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-04 11:26:31 +00:00
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
3810b56cc0
Don't set error indicators when clicking on an error message if the
...
document has been modified.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@962 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-03 12:21:12 +00:00
Enrico Tröger
a70b1ea728
Run set includes build dialogs for LaTeX files modally, too.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-02 23:22:34 +00:00
Nick Treleaven
6ff4464f9c
Make all remaining 0xff0000 comment styles darker using a common
...
default comment style.
Add some other generic styles (used only by C-like filetypes for
now).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-02 15:32:27 +00:00
Enrico Tröger
cba9dff4f9
Fixed typo.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@959 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 17:53:54 +00:00
Enrico Tröger
d35759a648
Fixed wrong detection of some words.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@958 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 16:52:16 +00:00
Nick Treleaven
018f2cb89b
Update Undo items when switching notebook pages.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@957 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 16:40:55 +00:00
Enrico Tröger
643318c14e
Changed keybinding for Print to Ctrl+C.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@953 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 16:03:41 +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
e79dc052f1
Prevent possible invalid memory read.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@950 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-01 10:58:47 +00:00
Enrico Tröger
432e7d734f
Removed "begin" section in symbol list and sort it at environment.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@949 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-30 23:00:26 +00:00
Enrico Tröger
2a2ca4cd82
Add extra indentation for Python after a colon.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@948 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-30 12:58:58 +00:00
Enrico Tröger
ff5e5cca37
Fixed bug when setting colour of open files list entry on new, unnamed files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@946 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-29 14:44:04 +00:00
Enrico Tröger
1aa3a761ac
Moved all treeview related callback functions from callbacks.c to msgwindow.c and treeviews.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@945 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-29 13:48:39 +00:00
Enrico Tröger
77a424a270
Colour also the open files list items according to their changed state.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@944 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-29 13:03:13 +00:00