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
This commit is contained in:
parent
cc984f9d7c
commit
01e2679ecf
12
HACKING
12
HACKING
@ -200,7 +200,8 @@ check to see if those features have been written in other projects first.
|
|||||||
|
|
||||||
* Add GEANY_FILETYPES_FOO to filetypes.h.
|
* Add GEANY_FILETYPES_FOO to filetypes.h.
|
||||||
* Initialize GEANY_FILETYPES_FOO in init_builtin_filetypes() of
|
* 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.
|
* Update data/filetype_extensions.conf.
|
||||||
|
|
||||||
filetypes.* configuration file
|
filetypes.* configuration file
|
||||||
@ -223,7 +224,14 @@ Syntax highlighting
|
|||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
It may be possible to use an existing Scintilla lexer in the scintilla/
|
It may be possible to use an existing Scintilla lexer in the scintilla/
|
||||||
subdirectory - if not, you will need to find (or write) one,
|
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.am
|
||||||
* scintilla/makefile.win32
|
* scintilla/makefile.win32
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user