Re: [QScintilla] Autoformatting
On 10 Apr 2018, at 7:06 pm, Scott Bloom <sc...@towel42.com> wrote: > > > > -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? > > 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 ___ QScintilla mailing list QScintilla@riverbankcomputing.com https://www.riverbankcomputing.com/mailman/listinfo/qscintilla
Re: [QScintilla] Autoformatting
-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? 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 Scott ___ QScintilla mailing list QScintilla@riverbankcomputing.com https://www.riverbankcomputing.com/mailman/listinfo/qscintilla
Re: [QScintilla] Autoformatting
On 10 Apr 2018, at 5:40 pm, Scott Bloomwrote: > > Is there any method to autoformat a block of code/a complete file? What do you mean by autoformat? Phil ___ QScintilla mailing list QScintilla@riverbankcomputing.com https://www.riverbankcomputing.com/mailman/listinfo/qscintilla