Revision: 4682
http://geany.svn.sourceforge.net/geany/?rev=4682&view=rev
Author: eht16
Date: 2010-02-21 13:23:55 +0000 (Sun, 21 Feb 2010)
Log Message:
-----------
Replace tabs by spaces.
Modified Paths:
--------------
trunk/ChangeLog
trunk/scripts/create_py_tags.py
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-02-21 13:22:29 UTC (rev 4681)
+++ trunk/ChangeLog 2010-02-21 13:23:55 UTC (rev 4682)
@@ -2,6 +2,7 @@
* scripts/create_py_tags.py:
Minor fixes.
+ Replace tabs by spaces.
2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
Modified: trunk/scripts/create_py_tags.py
===================================================================
--- trunk/scripts/create_py_tags.py 2010-02-21 13:22:29 UTC (rev 4681)
+++ trunk/scripts/create_py_tags.py 2010-02-21 13:23:55 UTC (rev 4682)
@@ -36,168 +36,168 @@
class Parser:
- #----------------------------------------------------------------------
- def __init__(self):
- self.tags = {}
- self.re_matcher = re.compile(tag_regexp)
+ #----------------------------------------------------------------------
+ def __init__(self):
+ self.tags = {}
+ self.re_matcher = re.compile(tag_regexp)
- #----------------------------------------------------------------------
- def _get_superclass(self, _object):
- """
- Python class base-finder
- (found on http://mail.python.org/pipermail/python-list/2002-November/173949.html)
+ #----------------------------------------------------------------------
+ def _get_superclass(self, _object):
+ """
+ Python class base-finder
+ (found on http://mail.python.org/pipermail/python-list/2002-November/173949.html)
- @param _object (object)
- @return superclass (object)
- """
- try:
- #~ TODO print inspect.getmro(c)
- if type(_object) == types.ClassType:
- return _object.__bases__[0].__name__
- else:
- return _object.__mro__[1].__name__
- except IndexError:
- return ''
+ @param _object (object)
+ @return superclass (object)
+ """
+ try:
+ #~ TODO print inspect.getmro(c)
+ if type(_object) == types.ClassType:
+ return _object.__bases__[0].__name__
+ else:
+ return _object.__mro__[1].__name__
+ except IndexError:
+ return ''
- #----------------------------------------------------------------------
- def _formatargspec(self, args, varargs=None, varkw=None, defaults=None,
- formatarg=str,
- formatvarargs=lambda name: '*' + name,
- formatvarkw=lambda name: '**' + name,
- formatvalue=lambda value: '=' + repr(value),
- join=inspect.joinseq):
- """Format an argument spec from the 4 values returned by getargspec.
+ #----------------------------------------------------------------------
+ def _formatargspec(self, args, varargs=None, varkw=None, defaults=None,
+ formatarg=str,
+ formatvarargs=lambda name: '*' + name,
+ formatvarkw=lambda name: '**' + name,
+ formatvalue=lambda value: '=' + repr(value),
+ join=inspect.joinseq):
+ """Format an argument spec from the 4 values returned by getargspec.
- The first four arguments are (args, varargs, varkw, defaults). The
- other four arguments are the corresponding optional formatting functions
- that are called to turn names and values into strings. The ninth
- argument is an optional function to format the sequence of arguments."""
- specs = []
- if defaults:
- firstdefault = len(args) - len(defaults)
- for i in range(len(args)):
- spec = inspect.strseq(args[i], formatarg, join)
- if defaults and i >= firstdefault:
- d = defaults[i - firstdefault]
- # this is the difference from the original formatargspec() function
- # to use nicer names then the default repr() output
- if hasattr(d, '__name__'):
- d = d.__name__
- spec = spec + formatvalue(d)
- specs.append(spec)
- if varargs is not None:
- specs.append(formatvarargs(varargs))
- if varkw is not None:
- specs.append(formatvarkw(varkw))
- return ', '.join(specs)
+ The first four arguments are (args, varargs, varkw, defaults). The
+ other four arguments are the corresponding optional formatting functions
+ that are called to turn names and values into strings. The ninth
+ argument is an optional function to format the sequence of arguments."""
+ specs = []
+ if defaults:
+ firstdefault = len(args) - len(defaults)
+ for i in range(len(args)):
+ spec = inspect.strseq(args[i], formatarg, join)
+ if defaults and i >= firstdefault:
+ d = defaults[i - firstdefault]
+ # this is the difference from the original formatargspec() function
+ # to use nicer names then the default repr() output
+ if hasattr(d, '__name__'):
+ d = d.__name__
+ spec = spec + formatvalue(d)
+ specs.append(spec)
+ if varargs is not None:
+ specs.append(formatvarargs(varargs))
+ if varkw is not None:
+ specs.append(formatvarkw(varkw))
+ return ', '.join(specs)
- #----------------------------------------------------------------------
- def _add_tag(self, obj, tag_type, parent=''):
- """
- Verify the found tag name and if it is valid, add it to the list
+ #----------------------------------------------------------------------
+ def _add_tag(self, obj, tag_type, parent=''):
+ """
+ Verify the found tag name and if it is valid, add it to the list
- @param obj (instance)
- @param tag_type (str)
- @param parent (str)
- """
- args = ''
- scope = ''
- try:
- args = apply(self._formatargspec, inspect.getargspec(obj))
- except (TypeError, KeyError):
- pass
- if parent:
- if tag_type == TYPE_CLASS:
- args = '(%s)' % parent
- else:
- scope = '%s%s' % (TA_SCOPE, parent)
- tagname = obj.__name__
- # check for duplicates
- if len(tagname) < 4:
- # skip short tags
- return
- tag = '%s%s%s%s%s%s\n' % (tagname, TA_TYPE, tag_type, TA_ARGLIST, args, scope)
- if not tagname in self.tags:
- self.tags[tagname] = tag
+ @param obj (instance)
+ @param tag_type (str)
+ @param parent (str)
+ """
+ args = ''
+ scope = ''
+ try:
+ args = apply(self._formatargspec, inspect.getargspec(obj))
+ except (TypeError, KeyError):
+ pass
+ if parent:
+ if tag_type == TYPE_CLASS:
+ args = '(%s)' % parent
+ else:
+ scope = '%s%s' % (TA_SCOPE, parent)
+ tagname = obj.__name__
+ # check for duplicates
+ if len(tagname) < 4:
+ # skip short tags
+ return
+ tag = '%s%s%s%s%s%s\n' % (tagname, TA_TYPE, tag_type, TA_ARGLIST, args, scope)
+ if not tagname in self.tags:
+ self.tags[tagname] = tag
- #----------------------------------------------------------------------
- def process_file(self, filename):
- """
- Read the file specified by filename and look for class and function definitions
+ #----------------------------------------------------------------------
+ def process_file(self, filename):
+ """
+ Read the file specified by filename and look for class and function definitions
- @param filename (str)
- """
- try:
- module = imp.load_source('tags_file_module', filename)
- except IOError, e:
- # file not found
- print '%s: %s' % (filename, e)
- return
- except Exception:
- module = None
+ @param filename (str)
+ """
+ try:
+ module = imp.load_source('tags_file_module', filename)
+ except IOError, e:
+ # file not found
+ print '%s: %s' % (filename, e)
+ return
+ except Exception:
+ module = None
- if module:
- symbols = inspect.getmembers(module, callable)
- for obj_name, obj in symbols:
- try:
- name = obj.__name__
- except AttributeError:
- name = obj_name
- if not name or not isinstance(name, basestring) or name.startswith('_'):
- # skip non-public tags
- continue
- if inspect.isfunction(obj):
- self._add_tag(obj, TYPE_FUNCTION)
- elif inspect.isclass(obj):
- self._add_tag(obj, TYPE_CLASS, self._get_superclass(obj))
- try:
- methods = inspect.getmembers(obj, inspect.ismethod)
- except AttributeError:
- methods = []
- for m_name, m_obj in methods:
- # skip non-public tags
- if m_name.startswith('_') or not inspect.ismethod(m_obj):
- continue
- self._add_tag(m_obj, TYPE_FUNCTION, name)
- else:
- # plain regular expression based parsing
- filep = open(filename)
- for line in filep:
- m = self.re_matcher.match(line)
- if m:
- tag_type_str, tagname, args = m.groups()
- if not tagname or tagname.startswith('_'):
- # skip non-public tags
- continue
- if tag_type_str == 'class':
- tag_type = TYPE_CLASS
- else:
- tag_type = TYPE_FUNCTION
- args = args.strip()
- tag = '%s%s%s%s%s\n' % (tagname, TA_TYPE, tag_type, TA_ARGLIST, args)
- if not tagname in self.tags:
- self.tags[tagname] = tag
- filep.close()
+ if module:
+ symbols = inspect.getmembers(module, callable)
+ for obj_name, obj in symbols:
+ try:
+ name = obj.__name__
+ except AttributeError:
+ name = obj_name
+ if not name or not isinstance(name, basestring) or name.startswith('_'):
+ # skip non-public tags
+ continue
+ if inspect.isfunction(obj):
+ self._add_tag(obj, TYPE_FUNCTION)
+ elif inspect.isclass(obj):
+ self._add_tag(obj, TYPE_CLASS, self._get_superclass(obj))
+ try:
+ methods = inspect.getmembers(obj, inspect.ismethod)
+ except AttributeError:
+ methods = []
+ for m_name, m_obj in methods:
+ # skip non-public tags
+ if m_name.startswith('_') or not inspect.ismethod(m_obj):
+ continue
+ self._add_tag(m_obj, TYPE_FUNCTION, name)
+ else:
+ # plain regular expression based parsing
+ filep = open(filename)
+ for line in filep:
+ m = self.re_matcher.match(line)
+ if m:
+ tag_type_str, tagname, args = m.groups()
+ if not tagname or tagname.startswith('_'):
+ # skip non-public tags
+ continue
+ if tag_type_str == 'class':
+ tag_type = TYPE_CLASS
+ else:
+ tag_type = TYPE_FUNCTION
+ args = args.strip()
+ tag = '%s%s%s%s%s\n' % (tagname, TA_TYPE, tag_type, TA_ARGLIST, args)
+ if not tagname in self.tags:
+ self.tags[tagname] = tag
+ filep.close()
- #----------------------------------------------------------------------
- def write_to_file(self, filename):
- """
- Sort the found tags and write them into the file specified by filename
+ #----------------------------------------------------------------------
+ def write_to_file(self, filename):
+ """
+ Sort the found tags and write them into the file specified by filename
- @param filename (str)
- """
- result = self.tags.values()
- # sort the tags
- result.sort()
- # write them
- target_file = open(filename, 'wb')
- target_file.write(
- '# format=tagmanager - Automatically generated file - do not edit (created on %s)\n' % \
- datetime.datetime.now().ctime())
- for symbol in result:
- if not symbol == '\n': # skip empty lines
- target_file.write(symbol)
- target_file.close()
+ @param filename (str)
+ """
+ result = self.tags.values()
+ # sort the tags
+ result.sort()
+ # write them
+ target_file = open(filename, 'wb')
+ target_file.write(
+ '# format=tagmanager - Automatically generated file - do not edit (created on %s)\n' % \
+ datetime.datetime.now().ctime())
+ for symbol in result:
+ if not symbol == '\n': # skip empty lines
+ target_file.write(symbol)
+ target_file.close()
@@ -233,19 +233,19 @@
def main():
- # process files given on command line
- args = sys.argv[1:]
- if not args:
- args = default_files
+ # process files given on command line
+ args = sys.argv[1:]
+ if not args:
+ args = default_files
- parser = Parser()
+ parser = Parser()
- for filename in args:
- parser.process_file(filename)
+ for filename in args:
+ parser.process_file(filename)
- parser.write_to_file(tag_filename)
+ parser.write_to_file(tag_filename)
if __name__ == '__main__':
- main()
+ main()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4681
http://geany.svn.sourceforge.net/geany/?rev=4681&view=rev
Author: eht16
Date: 2010-02-21 13:22:29 +0000 (Sun, 21 Feb 2010)
Log Message:
-----------
Fix ChangeLog format
Modified Paths:
--------------
trunk/ChangeLog
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-02-21 13:21:39 UTC (rev 4680)
+++ trunk/ChangeLog 2010-02-21 13:22:29 UTC (rev 4681)
@@ -5,11 +5,14 @@
2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
+
* doc/geany.txt:
- add more detailed hints about reloading configuration (thanks to Tony Rick)
+ add more detailed hints about reloading configuration
+ (thanks to Tony Rick).
* data/filetypes.javascript:
- correct the keyword list for JavaScript (thanks to Jonas)
+ correct the keyword list for JavaScript (thanks to Jonas).
+
2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* New release: Geany 0.18.1 "Balfour".
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4679
http://geany.svn.sourceforge.net/geany/?rev=4679&view=rev
Author: peterscholtens
Date: 2010-02-20 17:28:46 +0000 (Sat, 20 Feb 2010)
Log Message:
-----------
Removed undetermined article in nl.po
Modified Paths:
--------------
trunk/po/ChangeLog
trunk/po/nl.po
Modified: trunk/po/ChangeLog
===================================================================
--- trunk/po/ChangeLog 2010-02-20 15:55:31 UTC (rev 4678)
+++ trunk/po/ChangeLog 2010-02-20 17:28:46 UTC (rev 4679)
@@ -1,3 +1,9 @@
+2010-02-20 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
+
+ * nl.po: Removed undetermined article in Dutch translation. Thanks
+ to Ayke van Laëthem.
+
+
2010-02-19 Frank Lanitz <frank(a)frank.uvena.de>
* es.po: Update of Spanish translation. Thanks to Antonio Jiménez
Modified: trunk/po/nl.po
===================================================================
--- trunk/po/nl.po 2010-02-20 15:55:31 UTC (rev 4678)
+++ trunk/po/nl.po 2010-02-20 17:28:46 UTC (rev 4679)
@@ -9,8 +9,8 @@
"Project-Id-Version: Geany 0.19\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-12-12 16:34+0100\n"
-"PO-Revision-Date: 2009-12-12 16:42+0100\n"
-"Last-Translator: Peter Scholtens <peter.scholtens(a)xs4all.nl>\n"
+"PO-Revision-Date: 2010-02-20 13:01+0100\n"
+"Last-Translator: Ayke van Laethem <aykevanlaethem(a)gmail.com>\n"
"Language-Team: Dutch <geany-i18n(a)uvena.de>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -641,7 +641,7 @@
#: ../src/document.c:1007
#, c-format
msgid "The file \"%s\" does not look like a text file or the file encoding is not supported."
-msgstr "Het bestand \"%s\" lijkt niet op een tekstbestand of een de bestandscodering is niet ondersteund."
+msgstr "Het bestand \"%s\" lijkt niet op een tekstbestand of de bestandscodering is niet ondersteund."
#: ../src/document.c:1155
msgid "Spaces"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4678
http://geany.svn.sourceforge.net/geany/?rev=4678&view=rev
Author: dmaphy
Date: 2010-02-20 15:55:31 +0000 (Sat, 20 Feb 2010)
Log Message:
-----------
get README.I18N in sync with content of http://www.geany.org/Contribute/Translators
Modified Paths:
--------------
trunk/README.I18N
Modified: trunk/README.I18N
===================================================================
--- trunk/README.I18N 2010-02-20 14:19:50 UTC (rev 4677)
+++ trunk/README.I18N 2010-02-20 15:55:31 UTC (rev 4678)
@@ -1,59 +1,59 @@
Quick Guide for new translations
--------------------------------
-If you want to translate Geany into another language, please go to the
-language statistics page (see below) to see whether your desired
-language already exists. If it already exists, please read the
-"Notes for updating translations" section. Otherwise, get the SVN
-version of Geany, change to the po directory and start the new
-translation with:
+If you would like to translate Geany into another language, have a look at the
+language statistics page at [1] first to see if your desired language already
+exists. If it already exists, please read the "Notes for updating translations"
+section. Otherwise, get the SVN version of Geany, change to the po directory and
+start the new translation with:
$ msginit -l ll_CC -o ll.po -i geany.pot
-Fill in ll with the language code and CC with the country code.
-For example, to translate Geany into Italian you would type:
+Fill in ll with the language code and CC with the country code. For example, to
+translate Geany into Italian you would type:
$ msginit -l it_IT -o it.po -i geany.pot
-This will create a file it.po. This file can be opened with a
-text editor (like Geany ;-)) or you can also use a graphical
-interface. I can suggest PoEdit (http://www.poedit.net/), but
-there are several other GUIs.
+This will create a file it.po. This file can be opened with a text editor
+(e.g. Geany ;-)) or a graphical program like PoEdit [2]. There are also several
+other GUI programs for working on translations.
-You don't need to modify the file po/LINGUAS, it is regenerated
-automatically on the next build.
+You don't need to modify the file po/LINGUAS, it is regenerated automatically on
+the next build.
When you have finished editing the file, check the file with:
$ msgfmt -c --check-accelerators=_ it.po
-Please take care of menu accelerators(strings containing a "_").
-The "_" character should also be in your translation. Additionally,
-it would be nice if these accelerators are not twice for two strings
-inside a dialog or sub menu.
+Please take care of menu accelerators(strings containing a "_"). The "_"
+character should also be in your translation. Additionally, it would be nice if
+these accelerators are not twice for two strings inside a dialog or sub menu.
-You can also use intl_stats.sh, e.g. by running the following command
-in the top source directory of Geany:
+You can also use intl_stats.sh, e.g. by running the following command in the top
+source directory of Geany:
$ po/intl_stats.sh -a it
-This will print some information about the Italian translation
-and checks for menu accelerators.
+This will print some information about the Italian translation and checks for
+menu accelerators.
-Then send the file to Frank Lanitz and he will add the translation.
+When you have finished your work - which doesn't mean you finished the
+translation, you will not have to work alone - send the file to the translation
+mailing list [3] or directly to Frank Lanitz [4] and he will add the translation
+to Geany then.
-It is a good idea to write to Frank before you start or while translating,
-because he can give you some hints on translating and ensure that the
-translation is not already in progress.
+It is a good idea to let any translator and Frank know before you start or while
+translating, because they can give you hints on translating and Frank can ensure
+that a translation is not already in progress.
Notes for updating translations
-------------------------------
-If you want to update an existing translation, please contact Frank
-Lanitz. He is supervising all translation issues and will contact the
-maintainer of the translation you want to update to avoid any
-conflicts.
+If you want to update an existing translation, please contact the translation
+mailing list [3] and/or Frank Lanitz [4] directly. He is supervising all
+translation issues and will contact the maintainer of the translation you want
+to update to avoid any conflicts.
Some translation statistics can be found at:
http://i18n.geany.org/
@@ -62,8 +62,11 @@
I18n mailing list
-----------------
-There is also a mailing list dedicated to translation issues. Please
-visit http://www.geany.org/Support/MailingList for more information.
+There is also a mailing list dedicated to translation issues. Please visit
+http://www.geany.org/Support/MailingList#geany-i18 for more information.
-Contact: Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+[1] http://i18n.geany.org/
+[2] http://www.poedit.net/
+[3] http://www.geany.org/Support/MailingList#geany-i18
+[4] Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4677
http://geany.svn.sourceforge.net/geany/?rev=4677&view=rev
Author: dmaphy
Date: 2010-02-20 14:19:50 +0000 (Sat, 20 Feb 2010)
Log Message:
-----------
correct the keyword list for javascript (thanks to Jonas!)
Modified Paths:
--------------
trunk/ChangeLog
trunk/data/filetypes.javascript
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-02-20 13:56:57 UTC (rev 4676)
+++ trunk/ChangeLog 2010-02-20 14:19:50 UTC (rev 4677)
@@ -1,3 +1,9 @@
+2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
+ * doc/geany.txt:
+ add more detailed hints about reloading configuration (thanks to Tony Rick)
+ * data/filetypes.javascript:
+ correct the keyword list for JavaScript (thanks to Jonas)
+
2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* New release: Geany 0.18.1 "Balfour".
Modified: trunk/data/filetypes.javascript
===================================================================
--- trunk/data/filetypes.javascript 2010-02-20 13:56:57 UTC (rev 4676)
+++ trunk/data/filetypes.javascript 2010-02-20 14:19:50 UTC (rev 4677)
@@ -26,7 +26,8 @@
[keywords]
# all items must be in one line
-primary=abs abstract acos anchor asin atan atan2 big bold boolean break byte case catch ceil char charAt charCodeAt class concat const continue cos Date debugger default delete do double else enum escape eval exp export extends false final finally fixed float floor fontcolor fontsize for fromCharCode function goto if implements import in indexOf Infinity instanceof int interface isFinite isNaN italics join lastIndexOf length link log long Math max MAX_VALUE min MIN_VALUE NaN native NEGATIVE_INFINITY new null Number package parseFloat parseInt pop POSITIVE_INFINITY pow private protected public push random return reverse round shift short sin slice small sort splice split sqrt static strike string String sub substr substring sup super switch synchronized tan this throw throws toLowerCase toString toUpperCase transient true try typeof undefined unescape unshift valueOf var void volatile while with
+primary=break case catch const continue delete else eval false finally for function if in try instanceof isFinite isNaN NaN new null return switch this throw true typeof undefined var while with default let
+secondary=Object Function Array prototype
[settings]
# default extension used when saving files
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4676
http://geany.svn.sourceforge.net/geany/?rev=4676&view=rev
Author: dmaphy
Date: 2010-02-20 13:56:57 +0000 (Sat, 20 Feb 2010)
Log Message:
-----------
add more detailed hints about reloading configuration (thanks to Tony Ricks)
Modified Paths:
--------------
trunk/doc/geany.txt
Modified: trunk/doc/geany.txt
===================================================================
--- trunk/doc/geany.txt 2010-02-19 19:27:06 UTC (rev 4675)
+++ trunk/doc/geany.txt 2010-02-20 13:56:57 UTC (rev 4676)
@@ -1068,10 +1068,10 @@
hit Enter or Return.
For this to work in Geany, you'll need to first unbind Ctrl-Shift-u
-in the `keybinding preferences`_, then restart Geany.
-Note that it works slightly differently from other GTK applications,
-in that you'll need to continue to hold down the Ctrl and Shift keys
-while typing the code point hex digits.
+in the `keybinding preferences`_, then select *Tools->Reload Configuration*
+or restart Geany. Note that it works slightly differently from other GTK
+applications, in that you'll need to continue to hold down the Ctrl and Shift
+keys while typing the code point hex digits.
For GTK < 2.10, it is also possible, but typing the first Ctrl-Shift-u
is not necessary. One problem is that you may find the alphabetic
@@ -2137,7 +2137,9 @@
a document, such as the file header. You only need to set fields that
you want to use in your template files.
-.. note:: For changes made here to take effect a restart of geany is required.
+.. note::
+ For changes made here to take effect, either selecting
+ *Tools->Reload Configuration* or restarting Geany is required.
.. image:: ./images/pref_dialog_templ.png
@@ -3321,17 +3323,20 @@
reload the file after you have saved it.
.. note::
- Other configuration files are not shown here and you will need to open
- them manually and usually restart Geany to see any changes.
+ Other configuration files not shown here will need to be opened
+ manually, and will not be automatically reloaded when saved.
+ (see *Reload Configuration* below).
There's also a *Reload Configuration* item which can be used if you
-updated a configuration file outside of the current instance. This
-item is also necessary to update syntax highlighting colors.
+updated one of the other configuration files, or modified or added
+template files.
+*Reload Configuration* is also necessary to update syntax highlighting colors.
+
.. note::
- Syntax highlighting colors aren't updated after saving
- filetypes.common as this can take a short while depending on which
- documents are open.
+ Syntax highlighting colors aren't updated in open documents after
+ saving filetypes.common as this can possibly take a significant
+ amount of time.
Global configuration file
@@ -3914,7 +3919,8 @@
There are some rarely used preferences that are not shown in the Preferences
dialog. These can be set by editing the preferences file, then
-restarting Geany. Search for the key name, then edit the value. Example:
+selecting *Tools->Reload Configuration* or restarting Geany. Search for the
+key name, then edit the value. Example:
``brace_match_ltgt=true``
@@ -4084,10 +4090,9 @@
meta data is only used for the ChangeLog and File header templates.
In the configuration dialog you can find a tab "Templates" (see
-`Template preferences`_). You can define the
-default values which will be inserted in the templates. You should
-restart Geany after making changes, because they are only read
-at startup.
+`Template preferences`_). You can define the default values
+which will be inserted in the templates. You should select
+*Tools->Reload Configuration* or restart Geany after making changes.
File templates
@@ -4099,7 +4104,8 @@
By default, file templates are installed for some filetypes. Custom
file templates can be added by creating the appropriate template file
-and restarting Geany. You can also edit the default file templates.
+and then selecting *Tools->Reload Configuration* or restarting Geany. You can
+also edit the default file templates.
The file's contents are just the text to place in the document, with
optional template wildcards like ``{fileheader}``. The fileheader
@@ -4120,8 +4126,8 @@
which created a new document with the filetype set to 'C'.
The template file is read from disk when the corresponding menu item is
-clicked, so you don't need to restart Geany after editing a custom file
-template, only after adding a new one.
+clicked, so you don't need to select *Tools->Reload Configuration* or restart
+Geany after editing a custom file template.
Filetype templates
``````````````````
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.