~ubuntu-branches/ubuntu/precise/geany/precise

« back to all changes in this revision

Viewing changes to HACKING

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2011-01-08 17:29:46 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20110108172946-mm7j881jlozn0vt8
Tags: 0.20-0ubuntu1
* New upstream release
* Refresh 20_add_debian_specific_filetypes.dpatch
* Bump Breaks version for geany-plugins-common

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
it - this should work fine even if you have another version of Glade
124
124
installed on the system.
125
125
 
 
126
You can download Glade 2.12.2 here:
 
127
http://download.geany.org/glade-2.12.2.tar.gz
 
128
 
126
129
GTK API documentation
127
130
---------------------
128
131
The official GTK 2.8 API documentation is not available online anymore,
247
250
  passing ``-c some_dir`` (but make sure the directory is clean first).
248
251
* For debugging tips, see `GDB`_.
249
252
 
 
253
Bugs to watch out for
 
254
---------------------
 
255
* Forgetting to check *doc->is_valid* when looping through
 
256
  *documents_array* - instead use *foreach_document()*.
 
257
* Inserting fields into structs in the plugin API instead of appending.
 
258
* Not breaking the plugin ABI when necessary.
 
259
* Using an idle callback that doesn't check main_status.quitting.
 
260
* Forgetting CRLF line endings on Windows.
 
261
* Not handling Tabs & Spaces indent mode.
 
262
 
250
263
Libraries
251
264
---------
252
265
We try to use an unmodified version of Scintilla - any new lexers or
253
266
other changes should be passed on to the maintainers at
254
267
http://scintilla.org. We normally update to a new Scintilla release
255
 
shortly after one is made.
 
268
shortly after one is made. See also scintilla/README.
256
269
 
257
270
Tagmanager was originally taken from Anjuta 1.2.2, and parts of it
258
271
(notably c.c) have been merged from later versions of Anjuta and
365
378
 
366
379
Other features
367
380
^^^^^^^^^^^^^^
 
381
If the lexer has comment styles, you should add them in
 
382
highlighting_is_comment_style(). You should also update
 
383
highlighting_is_string_style() for string/character styles. For now,
 
384
this prevents calltips and autocompletion when typing in a comment
 
385
(but it can still be forced by the user).
 
386
 
368
387
For brace indentation, update lexer_has_braces() in editor.c;
369
388
indentation after ':' is done from on_new_line_added().
370
389
 
371
 
If the lexer has comment styles, you should add them in is_comment_style()
372
 
in editor.c. You should also update is_string_style() for string/character
373
 
styles. For now, this prevents calltips and autocompletion when typing
374
 
in a comment (but it can still be forced by the user).
375
 
 
376
390
If the Scintilla lexer supports user type keyword highlighting (e.g.
377
391
SCLEX_CPP), update editor_lexer_get_type_keyword_idx() in editor.c.
378
392