Author Topic: Scintilla trailing spaces  (Read 6230 times)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Scintilla trailing spaces
« 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?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Scintilla trailing spaces
« Reply #1 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.
Be patient!
This bug will be fixed soon...

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Scintilla trailing spaces
« Reply #2 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)