Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Aradayn on February 13, 2011, 04:11:43 pm

Title: Elastic Tabstops - great feature
Post by: Aradayn on February 13, 2011, 04:11:43 pm
This guy's got a solution to the eternal war between tabs and spaces that I think is very elegant:

http://nickgravgaard.com/elastictabstops/

You can even try it out on the page. Having this feature in Code::Blocks would be great.
Title: Re: Elastic Tabstops - great feature
Post by: oBFusCATed on February 13, 2011, 04:16:18 pm
I've read about it, but the C::B devs could do nothing about it, because C::B uses wxScintilla for the editors.
Probably you could show this to the Scintilla devs and if they say they can implement it.
C::B will get it almost for free.... :)
Title: Re: Elastic Tabstops - great feature
Post by: Jenna on February 13, 2011, 08:39:27 pm
I've read about it, but the C::B devs could do nothing about it, because C::B uses wxScintilla for the editors.
Probably you could show this to the Scintilla devs and if they say they can implement it.
C::B will get it almost for free.... :)
I just found this thread:
http://groups.google.com/group/scintilla-interest/browse_thread/thread/44fca717735f860e (http://groups.google.com/group/scintilla-interest/browse_thread/thread/44fca717735f860e)
As far as I can sse, there is not much interest of scintilla developpers to implement it.
Title: Re: Elastic Tabstops - great feature
Post by: veksha on September 15, 2018, 12:48:49 am
Hello, can we finally have this cool feature since scintilla has it?

http://nickgravgaard.com/elastic-tabstops/scintilla-implementation

Title: Re: Elastic Tabstops - great feature
Post by: ollydbg on September 15, 2018, 02:51:02 am
https://github.com/nickgravgaard/ElasticTabstopsForScintilla/blob/master/README.md

It is already in scintilla 3.5.0

So, C::B' scintilla should have this feature too, not sure we use it or not
Title: Re: Elastic Tabstops - great feature
Post by: oBFusCATed on September 15, 2018, 02:57:13 am
Cool, but this isn't something that is on-off thing.
Scintilla has just the building blocks for such implementation, but someone needs to spend time implementing it...
Patches welcome as always, but make sure to test them with at least a 1000 line files.  8)