-----Original Message-----
From: Phil Thompson <p...@riverbankcomputing.com> 
Sent: Tuesday, April 10, 2018 11:03
To: Scott Bloom <sc...@towel42.com>
Cc: QScintilla <qscintilla@riverbankcomputing.com>
Subject: Re: [QScintilla] Autoformatting

On 10 Apr 2018, at 5:40 pm, Scott Bloom <sc...@towel42.com> wrote:
> Is there any method to autoformat a block of code/a complete file?

What do you mean by autoformat?

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

QScintilla mailing list

Reply via email to