On 03/27/11 02:47, Frank Lanitz wrote:
On Sun, 27 Mar 2011 02:42:48 -0700
Matthew Brush<[email protected]>  wrote:

On 03/27/11 02:36, Frank Lanitz wrote:
On Sun, 27 Mar 2011 00:15:42 -0700
Matthew Brush<[email protected]>   wrote:

Hi,

I recently updated the geany-themes project to use the new addition
from r5596[1].  Should Geany's documentation be updated to explain
the new feature?

Yepp, would be helpful. Do you like to write some lines for?

Ok, at least as I understand it, I can patch.  Is it doc/geany.txt
only that I need to edit?

Yes. PDF and HTML is generated from this file.

See attachment.

Cheers,
Matthew Brush
diff --git a/doc/geany.txt b/doc/geany.txt
index 5362949..c2c0a22 100644
--- a/doc/geany.txt
+++ b/doc/geany.txt
@@ -3703,6 +3703,19 @@ E.g. ``key=0xff0000;;true``
 This makes the key style have red foreground text, default background
 color text and bold emphasis.
 
+You can copy all of the styles from another filetype.* file by using the
+following syntax for the ``[styling]`` group:
+
+	[styling=FILETYPE]
+
+Where FILETYPE is the the ``filetype.FILETYPE`` file which contains the styles
+to copy.  This is useful, for example, where the same lexer is being used for 
+multiple languages (ex. C/C++/C#/Java/etc).  For example, to make the C++ 
+styling the same as the C styling, you would put the following in 
+``filetypes.cpp``:
+
+	[styling=c]
+
 Using a named style
 *******************
 The second format uses a *named style* name to reference a style
_______________________________________________
Geany-devel mailing list
[email protected]
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Reply via email to