Re: New IDL 8.2.2 Workbench [message #83189] |
Thu, 07 February 2013 08:13 |
Helder Marchetto
Messages: 520 Registered: November 2011
|
Senior Member |
|
|
On Thursday, February 7, 2013 5:06:20 PM UTC+1, Fab wrote:
> I have to stop complaining without prior searching ;-)
>
>
>
> In window->preferences->editor, you can remove this functionality.
>
>
>
>
>
>
>
> On 02/07/2013 05:00 PM, Fab wrote:
>
>> Hi Elder
>
>>
>
>> On 02/07/2013 04:52 PM, Helder wrote:
>
>>> a new Workbench functionality is driving me crazy.
>
>>> If you copy and paste lines from one part of the
>
>>> program to another, the original indentation is lost/modified.
>
>>
>
>> This seems related to the new feature listed in Mark's post: "Code is
>
>> autoindented when pasted into Editor".
>
>>
>
>> Another annoying thing which is new to IDL 8.2.2 Workbench (at least
>
>> under linux) is that copy-pasting lines will place your cursor at level
>
>> 0 of indentation after pasting, even if the cursor was at level 1 while
>
>> copying.
>
>>
>
>> Honestly, I didn't need the "Code autoindentation". I was really happy
>
>> to do it myself when ready, by selecting the text and using "CTRL+Shift+F"
>
>>
>
>> Fab
Hi,
thanks. I found that, but had to go slightly a different way on my system:
window->preferences->IDL->editor
and then uncheck the option "Automatically apply formatting to pasted code"
Thanks,
Helder
|
|
|
Re: New IDL 8.2.2 Workbench [message #83190 is a reply to message #83189] |
Thu, 07 February 2013 08:06  |
Fabzi
Messages: 305 Registered: July 2010
|
Senior Member |
|
|
I have to stop complaining without prior searching ;-)
In window->preferences->editor, you can remove this functionality.
On 02/07/2013 05:00 PM, Fab wrote:
> Hi Elder
>
> On 02/07/2013 04:52 PM, Helder wrote:
>> a new Workbench functionality is driving me crazy.
>> If you copy and paste lines from one part of the
>> program to another, the original indentation is lost/modified.
>
> This seems related to the new feature listed in Mark's post: "Code is
> autoindented when pasted into Editor".
>
> Another annoying thing which is new to IDL 8.2.2 Workbench (at least
> under linux) is that copy-pasting lines will place your cursor at level
> 0 of indentation after pasting, even if the cursor was at level 1 while
> copying.
>
> Honestly, I didn't need the "Code autoindentation". I was really happy
> to do it myself when ready, by selecting the text and using "CTRL+Shift+F"
>
> Fab
|
|
|
Re: New IDL 8.2.2 Workbench [message #83191 is a reply to message #83190] |
Thu, 07 February 2013 08:00  |
Fabzi
Messages: 305 Registered: July 2010
|
Senior Member |
|
|
Hi Elder
On 02/07/2013 04:52 PM, Helder wrote:
> a new Workbench functionality is driving me crazy.
> If you copy and paste lines from one part of the
> program to another, the original indentation is lost/modified.
This seems related to the new feature listed in Mark's post: "Code is
autoindented when pasted into Editor".
Another annoying thing which is new to IDL 8.2.2 Workbench (at least
under linux) is that copy-pasting lines will place your cursor at level
0 of indentation after pasting, even if the cursor was at level 1 while
copying.
Honestly, I didn't need the "Code autoindentation". I was really happy
to do it myself when ready, by selecting the text and using "CTRL+Shift+F"
Fab
|
|
|