[Bf-committers] Text editor patch ideas

Campbell Barton ideasman42 at gmail.com
Tue Nov 10 18:38:37 CET 2015

On Wed, Nov 11, 2015 at 2:49 AM, Diego Gangl <dnicolas at gmail.com> wrote:
> Hey Campbell,
> Thanks for replying. I'll try to tackle those bugs too.
>> 2) auto-add braces/quotes etc...
>> Would rather not, to work well it needs to be context sensitive,
>> (disabled in comments/strings for eg).
> Wouldn't you always want a closing parenthesis or brace, even when you're
> typing normal text?

QtCreator for eg doesn't do this, also some editors ignore when you
insert the matching character.
Most editors that do this also insert matching quotes... then we have
to consider Python's triple quoting. ... if OSL needs its own handling

>> 7). Scroll Offset
>> Seems fine, though we could just pick a good default (~4 lines).
> Using a default sounds good.
>> 8) Custom mono font
>> We have an interface font preference already,
>> so as long as this isn't causing problems with other users of mono
>> fonts (render stamp for eg), it could be ok.
> I was thinking of adding a property in preferences and using it in the
> drawing code of the text ed,
> so it shouldn't affect other users.
> --
> Diego Gangl - sinestesia.co
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers

- Campbell

More information about the Bf-committers mailing list