[Geany-devel] indicator API functions (Re: SF.net SVN: geany:  trunk)
enrico.troeger at xxxxx
Thu May 15 13:43:18 UTC 2008
On Wed, 14 May 2008 20:00:53 +0200, Enrico Tröger
<enrico.troeger at uvena.de> wrote:
> On Wed, 14 May 2008 18:20:55 +0100, Nick Treleaven
> <nick.treleaven at btinternet.com> wrote:
> > On Wed, 14 May 2008 18:55:19 +0200
> > Enrico Tröger <enrico.troeger at uvena.de> wrote:
> > > On Wed, 14 May 2008 17:37:02 +0100, Nick Treleaven
> > > <nick.treleaven at btinternet.com> wrote:
> > >
> > > > Hmm, maybe those indicator functions should be moved to
> > > > editor.c - it seems to me that the current API document
> > > > functions are strongly document related, like opening files or
> > > > setting encoding of files. Indicators might fit better as
> > > > editor functionality. What do you think?
> > >
> > > Nothing much against it. Maybe there are some more candidates to
> > > move like document_strip_trailing_spaces(), document_replace_tabs
> > > (), document_get_eol_mode()?
> > Yes, I think these would probably fit better in editor.c. But the
> > indicator functions are most important because they're now in the
> > API.
> Ok, I moved the indicator functions into editor.c, the other functions
> follow tomorrow.
The following functions have been moved from document.c into editor.c:
I skipped the document_colourise functions although they would also fit
in editor.c but then delay_colourise had to be public to functions in
both files. If anyone disagrees, just move it and make delay_colourise
avaiable to both ;-).
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the Devel