[QScintilla] Autoformatting

Phil Thompson phil at riverbankcomputing.com
Tue Apr 10 22:13:13 BST 2018


On 10 Apr 2018, at 7:06 pm, Scott Bloom <scott at towel42.com> wrote:
> 
> 
> 
> -----Original Message-----
> From: Phil Thompson <phil at riverbankcomputing.com> 
> Sent: Tuesday, April 10, 2018 11:03
> To: Scott Bloom <scott at towel42.com>
> Cc: QScintilla <qscintilla at riverbankcomputing.com>
> Subject: Re: [QScintilla] Autoformatting
> 
> On 10 Apr 2018, at 5:40 pm, Scott Bloom <scott at towel42.com> wrote:
>> 
>> Is there any method to autoformat a block of code/a complete file?
> 
> What do you mean by autoformat?
> 
> Phil
> ----------
> What I mean is along the lines of what Visual Studio does when you select "Format Selection" or "Format Document"
> 
> At a minimum, it tends to be indentation of the block, but ideally would give options for spaces around operators etc.. Or does opening brackets belong on the current line, or indented on the next line.
> 
> Ive been looking at embedding the linux indent command into an editor for a while, was hoping QScintilla (scintilla) had it already

No.

Phil


More information about the QScintilla mailing list