Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Bug: ScriptEditor indentation policy uses always TABS when indenting multiple lines

Hi all,

I have moved getIndentPrefixes(ISourceViewer,String) implementation to ScriptSourceViewerConfiguration, so it should work automatically and there should be no need to override this method.

Regards,
Alex

----- Original Message -----
From: "Alex Panchenko" <alex@xxxxxxxxx>
To: "DLTK Developer Discussions" <dltk-dev@xxxxxxxxxxx>
Cc: "Dennis Knochenwefel" <dennis.knochenwefel@xxxxxxxxxx>
Sent: Friday, June 5, 2009 7:59:01 PM GMT +06:00 Almaty, Novosibirsk
Subject: Re: [Dltk-dev] Bug: ScriptEditor indentation policy uses always TABS when indenting multiple lines

Hi Gabriel,

You should just override SourceViewerConfiguration.getIndentPrefixes(ISourceViewer, String)
Implementation could be taken from JDT or Ruby.

Regards,
Alex

----- Original Message -----
From: "Gabriel Petrovay" <gabipetrovay@xxxxxxxxx>
To: "dltk-dev" <dltk-dev@xxxxxxxxxxx>
Cc: "Dennis Knochenwefel" <dennis.knochenwefel@xxxxxxxxxx>
Sent: Friday, June 5, 2009 6:55:46 PM GMT +06:00 Almaty, Novosibirsk
Subject: [Dltk-dev] Bug: ScriptEditor indentation policy uses always TABS when indenting multiple lines

Hi,

Here is a thing that we found that looks like a bug. If in the
ScriptEditor one selects and indents multiple lines together, TABS are
always used disregarding the the Editor preferences.

Is this the wanted behavior? The simple Text Editor Eclipse provide,
indents the text always according with the preferences set on the
General -> Editors -> Text Editors page

Regards,
Gabriel


-- 
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev


Back to the top