12 Commits

Author SHA1 Message Date
Enrico Tröger
311b82ebb2 Rename document struct to GeanyDocument.
Rename filetype struct to GeanyFiletype.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2594 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-16 14:17:54 +00:00
Enrico Tröger
72f6acde81 Fix compilation with GTK >= 2.10.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2593 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-16 13:30:41 +00:00
Nick Treleaven
3a12da9daf Note: this commit breaks the plugin API (but is necessary so that in
future the ABI can stay stable when adding preferences).
Split up prefs into interface_prefs, toolbar_prefs, file_prefs,
search_prefs, tool_prefs, template_prefs, and add these to the
plugin API.
Move suppress_search_dialogs and search_use_current_word to
search_prefs, and rename accordingly.
Rename switch_msgwin_pages pref to switch_to_status.
Remove toolbar_ prefix for toolbar_prefs items.
Remove tool_ prefix for tool_prefs items.
Remove template_ prefix for template_prefs items.
Add Geany prefix for EditorPrefs.
Add Geany prefix for SearchPrefs.
Initialize search_prefs to zero in main.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2591 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-16 12:08:39 +00:00
Enrico Tröger
b7bfb2743a Replace all C++-style comments with usual C-like multi-line comments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2287 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-27 13:17:29 +00:00
Enrico Tröger
dc9ee75785 Fix losing line breaks when printing a file with LF line endings and a non-Ascii character at the end of a line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2201 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-31 15:18:13 +00:00
Enrico Tröger
0bf9496a97 Fix crash on Windows when printing an untitled file.
Fix black line number margin when printing by using also pre-defined styles.	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2194 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-27 18:27:33 +00:00
Enrico Tröger
70bdbb491b Fix crash on Windows when printing an untitled file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2193 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-27 17:44:18 +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
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
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
Enrico Tröger
6d12044f8c Set line width for page header, handle empty filename in page header correctly.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2052 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-17 17:03:25 +00:00
Enrico Tröger
fff66178da Add native GTK printing support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2050 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-17 14:04:27 +00:00