Re: [Lazarus] IDE option: Convert selection to string ?

2018-07-12 Thread Martin Frb via Lazarus
On 12/07/2018 14:19, Michael Van Canneyt via Lazarus wrote: It would be nice if the IDE could do this: select a block of text, and choose 'Refactoring -> convert to pascal string' Currently I have a separate tool that does this (both ways: quote and unquote, in case I need to re-rest an SQL

Re: [Lazarus] IDE option: Convert selection to string ?

2018-07-12 Thread Michael Van Canneyt via Lazarus
On Thu, 12 Jul 2018, Martin Frb via Lazarus wrote: On 12/07/2018 14:36, Anthony Walter via Lazarus wrote: How about something that takes the current caret position in the source editor, the clipboard context, and inserts as a Pascal quoted string that wraps with + at the end of line, and

Re: [Lazarus] IDE option: Convert selection to string ?

2018-07-12 Thread Martin Frb via Lazarus
On 12/07/2018 14:36, Anthony Walter via Lazarus wrote: How about something that takes the current caret position in the source editor, the clipboard context, and inserts as a Pascal quoted string that wraps with + at the end of line, and appropriate system defined line break characters? The

Re: [Lazarus] IDE option: Convert selection to string ?

2018-07-12 Thread Marcos Douglas B. Santos via Lazarus
On Thu, Jul 12, 2018 at 9:19 AM, Michael Van Canneyt via Lazarus wrote: > > I cannot imagine I am the only one with this need :) +1 Of course you're not alone! Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org