Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: rickg22 on July 26, 2005, 06:11:16 pm

Title: Scintilla trailing spaces
Post by: rickg22 on July 26, 2005, 06:11:16 pm
Hey guys! Look what i found in the scintilla docs!

Here are some of the configs used by scintilla:

strip.trailing.spaces - Strips trailing white spaces from the file while saving.
ensure.final.line.end - Ensures file ends with a line end when saved.
ensure.consistent.line.ends - Ensures all lines end with the current Line End Characters setting when saved.

These can be applied EASILY to the editor! And I think that'll fix the inconsistent line numbers bug in the todo plugin. :) Erm Yiannis, where do I put these?
Title: Re: Scintilla trailing spaces
Post by: mandrav on July 26, 2005, 07:07:18 pm
And I think that'll fix the inconsistent line numbers bug in the todo plugin. :) Erm Yiannis, where do I put these?

Errm, Rick, that bug's been fixed already  :o
Anyway, nice bit of info. Now we have to add config options for these and we 're set  :lol:

Yiannis.
Title: Re: Scintilla trailing spaces
Post by: rickg22 on July 26, 2005, 07:30:49 pm
I just noticed something. The "ensure.final.line.end" might not be convenient for all filetypes, perhaps it should be added to the syntax files... (php files have problems with trailing lines at the end... i'm just thinking a bit longterm, sorry)