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
c1f109bc13
Add default startup directory option ( closes #1704988 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1561 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-23 13:44:25 +00:00
Enrico Tröger
8077ddd9f4
Set widget names for the main widgets to allow users to define custom styles in .gtkrc-2.0.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1503 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-04 15:33:07 +00:00
Nick Treleaven
f39df4005f
Add support for generating global tags files for non-C-like
...
filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1480 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-27 11:00:29 +00:00
Nick Treleaven
4a7d4da2be
Separate filetype menu item creation from filetypes_init_types() so
...
it can be called without initializing GTK (for non-GUI commands).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1478 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-25 15:01:14 +00:00
Nick Treleaven
492cc39a9e
Restore the current project when restarting Geany.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1468 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-21 12:25:17 +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
Enrico Tröger
c84d9b2803
Added options to show or hide the statusbar as well as the editor scrollbars.
...
Added sci_set_scrollbar_mode() to easily show or hide the scrollbars.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1444 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-10 17:06:57 +00:00
Nick Treleaven
d3dfe1dd1d
Add option --generate-tags (-g) to generate a global tags file from
...
a list of source files. Currently this is only likely to work
correctly for C-like source files. Run 'geany -g' for syntax info.
Remove short option for hidden option --generate-data-files.
Update tm_workspace_create_global_tags() from Anjuta 1.2.4a.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1411 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-21 13:26:16 +00:00
Enrico Tröger
9dc61832fc
Added different auto indention modes to select who should Geany indent new lines ( closes #1615605 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1373 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-08 18:02:08 +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
8cd6856293
Changed location of translation files to lib\locale on Win32.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1358 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-02 09:58:03 +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
477aa6fa75
Speed up loading multiple C-like files when restoring session or
...
loading command-line files at startup by ensuring documents are
only colourised once.
Also prevent re-colourising C-like documents after saving a file
unless the list of typenames has changed.
Add document_delay_colourise(), document_colourise_all().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1323 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-23 13:26:06 +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
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
Enrico Tröger
3dabf02946
Convert config, application and documentation dir paths to locale encoding before using it.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1268 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-12 16:32:56 +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
826cd9961e
Added command line option --column to allow setting the initial column for the first opened file on command line.
...
Don't apply the --line and --column options to the first opened session file.
Make --line and --column options work for opening files in an already running instance.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1227 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-24 22:38: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
9114f27848
Fix include project.h
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1196 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-16 15:22:24 +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
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
ad78c7e1a0
Print an error message (instead of debug message) when a
...
command-line file cannot be loaded.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1178 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-13 12:42:12 +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
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
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
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
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
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
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
Enrico Tröger
4306f9091a
Removed DnD handler for the main window (not very useful).
...
Fixed broken tab reordering by only enabling DnD for dropping files when there are no open file tabs, otherwise disable it and enable DnD for moving file tabs. Dropping files into Geany when file tabs are open still works because then it is handled by the Scintilla widget.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1015 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-21 18:39:23 +00:00
Enrico Tröger
f0ffdced4f
Fixed compile error under Win32. Ignore pressed Stop button under Win32 (at least for the moment, not yet implemented).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1009 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-17 17:49:16 +00:00
Enrico Tröger
6077f3c420
Enabled DnD also for the main notebook widget to drop files in the main area of Geany.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1005 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-16 16:10:18 +00:00
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
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
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
a20ce7ad45
Make filetype_extensions.conf generation only available with a debug
...
build of Geany.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-04 12:49:00 +00:00
Enrico Tröger
172558ea10
Added an Apply button to preferences dialog.
...
New setting to show/hide the Quit toolbar item.
New setting to show/hide notebook tabs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@943 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-29 01:28:58 +00:00
Enrico Tröger
6e4e05d957
Removed previously added configuration option and removed the right alignment of the toolbar quit button.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@916 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 16:38:04 +00:00
Enrico Tröger
596a3c7e0a
Added configuration option for the alignment of toolbar quit button.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@915 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 16:07:36 +00:00
Nick Treleaven
6cd8983e36
Moved finalization code from destroyapp() to main_quit().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@913 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-21 11:34:18 +00:00
Nick Treleaven
119a256c15
Add drop-down recent files menu to Open toolbar button.
...
Align quit toolbar button on the right.
Move Colour Chooser, Word Count to Tools menu.
Reorder Format, add Indent icons, edit Remove Indicators items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@907 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-20 12:31:22 +00:00
Nick Treleaven
e821acb863
Move build menu related functions and callbacks to build.c.
...
Renamed ui_update_build_menu -> build_menu_update.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@902 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-18 19:35:42 +00:00
Nick Treleaven
93ba5ba45f
Removed the GEANY_MAX_OPEN_FILES limit, using a dynamic array.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@875 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-09 16:08:53 +00:00