Kaydet (Commit) 01e2679e authored tarafından Nick Treleaven's avatar Nick Treleaven

Mention using filetype_make_title() when adding a filetype.

Mention conflicting scintilla lexers will not be accepted; new lexers
should be submitted back to the scintilla project.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4173 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst cc984f9d
......@@ -200,7 +200,8 @@ check to see if those features have been written in other projects first.
* Add GEANY_FILETYPES_FOO to filetypes.h.
* Initialize GEANY_FILETYPES_FOO in init_builtin_filetypes() of
filetypes.c.
filetypes.c. You should use filetype_make_title() to avoid a
translation whenever possible.
* Update data/filetype_extensions.conf.
filetypes.* configuration file
......@@ -223,7 +224,14 @@ Syntax highlighting
^^^^^^^^^^^^^^^^^^^
It may be possible to use an existing Scintilla lexer in the scintilla/
subdirectory - if not, you will need to find (or write) one,
LexFoo.cxx. Try the Scintilla project first. When adding a lexer, update:
LexFoo.cxx. Try the official Scintilla project first.
.. warning::
We won't accept adding a lexer that conflicts with one in
Scintilla. All new lexers should be submitted back to the Scintilla
project to save duplication of work.
When adding a lexer, update:
* scintilla/Makefile.am
* scintilla/makefile.win32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment