Nick Treleaven
62c0ad1493
Fix hidden lines after deleting a line that is a collapsed fold
...
point.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2175 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-16 13:07:04 +00:00
Nick Treleaven
f446def461
Don't unlink the old file if renaming failed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2174 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-15 17:04:31 +00:00
Nick Treleaven
dd4eb19966
Add coding note about not writing long functions with a lot of variables and/or scopes. Some other minor changes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2173 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-14 17:46:21 +00:00
Nick Treleaven
6eceb83d41
Make 'Open Selected File' first try the current file's directory,
...
falling back to the project base path if no file was found.
Add editor_get_default_selection() from get_default_text() in
search.c, to get the current selection or current word.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2172 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-14 17:30:59 +00:00
Enrico Tröger
748d552168
Save project session file list when project is closed.
...
Don't load default session files in a second instance after a project was closed.
Fix not updating symbol list (and other things) when changing tabs after a project was opened or closed in a second instance.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2171 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-13 17:50:04 +00:00
Frank Lanitz
0a0ec0b491
Update of Japanese translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2170 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-13 10:13:15 +00:00
Enrico Tröger
bc180f0545
Don't add '>' when auto completing HTML tags when it's already there.
...
Fix wrong indentation when '{' and '}' are on the same line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2169 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-12 13:01:43 +00:00
Enrico Tröger
f8574bd8b9
Add POTFILES.skip to ignore files with translatable strings.
...
Make "distcheck" working.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2168 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-12 12:22:46 +00:00
Enrico Tröger
3775f8f551
Avoid double status message if print dialog was cancelled.
...
Print status messages in status-changed handler.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2167 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-12 11:03:52 +00:00
Enrico Tröger
8977c301a7
Try to fix changing message window height when using full screen ( closes #1869415 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2166 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-12 10:14:58 +00:00
Nick Treleaven
123429477a
Add Yura Siamashka to list of contributors.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2165 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 17:30:58 +00:00
Nick Treleaven
ff9c673ed2
Apply patch from Yura Siamashka to speed up removing several
...
workspace object's tags without updating the workspace until
necessary (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2164 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 17:09:23 +00:00
Nick Treleaven
d4764a2bc9
Add 'Make in base path' project file preference, on by default.
...
Add project_get_base_path(), separated from project_get_make_dir().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2163 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 16:53:25 +00:00
Enrico Tröger
a248c03f18
Fix crash while reading Scintilla styles.
...
Append "_export" to the exported file name when the exported file has the same extension as the source file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2162 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 15:02:42 +00:00
Enrico Tröger
fd4f40e48d
Fix crash while reading Scintilla styles.
...
Add GTK's progress dialog when printing large documents which also provides the ability to cancel a print operation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2161 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 14:23:29 +00:00
Enrico Tröger
8751272b25
Fix broken Rename functionality ( closes #1868621 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2160 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 13:17:00 +00:00
Nick Treleaven
bf91249800
Add "recent projects menu" item, clarify make commands item.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2159 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-11 13:07:57 +00:00
Nick Treleaven
f2ab079305
Add 'Override Geany keybindings' VTE prefs dialog option (replaces
...
hidden pref), and make it off by default.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2158 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-10 17:11:19 +00:00
Nick Treleaven
0daae73665
Add comment to remind me not to use GTK_WIDGET_IS_SENSITIVE for menu items.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2157 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-10 13:41:58 +00:00
Nick Treleaven
afe981214a
Hopefully fix bug with Cut/Copy/Paste KB not working ( #1867861 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2156 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-10 13:27:26 +00:00
Nick Treleaven
1d1cd90028
Edit base path entry tooltip for clarity.
...
Use stock close button in close project prompt.
Allow the base path to be empty, so that users can use the current
file's directory for the Make command (but still use project session
support). In future, perhaps it would be good to have a separate Make
path setting for projects.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2155 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-09 18:05:09 +00:00
Enrico Tröger
0f9433d088
Fix compile error on Windows. Don't use _waccess_s since it seems to be unavailable in MingW32.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2154 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-09 15:40:22 +00:00
Enrico Tröger
9f151a3c1c
Add workaround for display problem in Message window:
...
Truncate displayed string at 1024 bytes if it is longer.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2153 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-09 13:36:22 +00:00
Enrico Tröger
2ff8416767
Add GeanyWrapLabel (subclass of GtkLabel) to wrap text at any width.
...
Use GeanyWrapLabel in preferences dialog and plugin manager dialog to save a lot of space and improve layout of descriptive texts.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2152 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-09 13:24:36 +00:00
Enrico Tröger
4d70dce5d4
Add utils_is_file_writeable().
...
Improve checks for write permission of files and directories.
Don't overwrite maybe existing project files when trying to create new project and checking for project file's write permission (thanks to Yura Siamashka for reporting and his patch).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2151 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-06 19:59:01 +00:00
Enrico Tröger
e3201062c6
Update copyright information and change format of email addresses in source files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2150 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-06 18:11:57 +00:00
Frank Lanitz
988d72a22a
Changed uk_UA to just uk in rest of files
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2149 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-05 18:42:34 +00:00
Frank Lanitz
1367cdb231
Added Tarot to list of distributers of Geany
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2148 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-04 20:41:29 +00:00
Enrico Tröger
9b71ac887d
Remove filetype macro to avoid naming conflicts.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2147 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-04 13:57:17 +00:00
Frank Lanitz
4324e0b350
Added Japanese translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2146 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-03 21:08:43 +00:00
Enrico Tröger
697195c4fe
Patch by Yura Siamashka:
...
Add project type field.
Go to tag definition/declaration will open the file with the tag if it isn't already open.
Add some utils and tagmanager functions to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2145 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-02 21:20:33 +00:00
Enrico Tröger
ce8102c8c8
Add -lshfolder to linker flags on Windows. Add notice for Win9x users to install SHFolder.dll.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2144 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-02 19:27:36 +00:00
Nick Treleaven
2ef88ff298
Add mnemonics for Find All, Replace All expanders in dialogs.
...
Fix Find dialog mnemonic conflict _f.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2143 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-02 16:23:32 +00:00
Nick Treleaven
486e1cdbc6
item: basic support for adding custom filetypes?
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2142 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-02 13:42:22 +00:00
Nick Treleaven
43890f2045
Use documents->open_files() as it's more efficient when opening
...
multiple files and existing files are open for filetypes with
typename colouring.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2141 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-02 13:39:53 +00:00
Nick Treleaven
42889d65ad
Ignore D import statements.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2140 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-02 13:17:25 +00:00
Enrico Tröger
eb7b9b38ed
Remove unnecessary macro GEANY_HOME_DIR.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2139 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-30 21:02:50 +00:00
Enrico Tröger
8849ed8819
Create Geany's configuration directory in user's appdata path instead of the default home directory ( closes #1856305 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2138 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-30 20:57:34 +00:00
Enrico Tröger
347c1da00c
Add debug console window when debug mode is enabled to get any text messages on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2137 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-30 15:54:00 +00:00
Enrico Tröger
7746eee602
Avoid crash on Windows with enabled debug messages.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2136 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-30 15:31:45 +00:00
Enrico Tröger
f313105d71
Don't parse in comments and fix wrong creation of tags including non-tag characters(e.g. '=' sign).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2135 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-30 15:20:22 +00:00
Nick Treleaven
de3d1e3223
Disable popup menu items when there is no selection.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2134 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-28 17:35:58 +00:00
Nick Treleaven
6ea61f1722
Refactor with functions: check_single_selection(),
...
is_folder_selected(), get_tree_path_filename() and separate menu
item callbacks.
Rename "Open with..." popup item "Open externally" ("..." is usually
used when the user can input more information).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2133 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-28 17:02:07 +00:00
Frank Lanitz
ddc2d139dd
Update of Swedish translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2132 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-27 20:23:50 +00:00
Enrico Tröger
5d3801fe30
Add *.vala extension to CSharp filetype to support the Vala language.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2131 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-25 14:19:47 +00:00
Nick Treleaven
bd6c2c611f
Add configurable keybindings for Cut, Copy and Paste.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2130 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-25 14:00:18 +00:00
Enrico Tröger
2ca754ab0f
Enable parsing command line options without a valid X display.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2129 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-23 17:06:11 +00:00
Enrico Tröger
6b2df19863
Add Python filetype template (patch by Elena of Valhalla, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2128 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-23 15:22:55 +00:00
Enrico Tröger
8b71fea887
Remove an extra space.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2127 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-23 15:20:17 +00:00
Enrico Tröger
48847cb372
Fix inverted move tab first/last commands.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2126 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-23 15:19:42 +00:00