On/Off auto-type in preferences
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller
On/Off auto-type in preferences
Hi,
how to turn off the auto-type function?
It's especially the quote which is starting to irritate me as it's slows down the typing.
When typing the quote then after that i have to escape it by using the arrows or the end key.
And after that you can go ahead typing or hitting the Return key.
Is it possible to get an On/Off switch in the preferences or exclude the quote in auto-typing?
or am i overlooking a setting?
Thanks a lot!
Sphere
how to turn off the auto-type function?
It's especially the quote which is starting to irritate me as it's slows down the typing.
When typing the quote then after that i have to escape it by using the arrows or the end key.
And after that you can go ahead typing or hitting the Return key.
Is it possible to get an On/Off switch in the preferences or exclude the quote in auto-typing?
or am i overlooking a setting?
Thanks a lot!
Sphere
Re: On/Off auto-type in preferences
The items your looking for are under "Edit -> Options" in the script editor menus.
I usually turn the first 3 off immediately if they are on, highlighting is still kind of dodgy/slow, but not nearly as bad.
Re: On/Off auto-type in preferences
Thanks Bogs!
I have overlooked that.
Did not see it owns options separate from the preferences.
That's a relieve
Cheers, Sphere
I have overlooked that.
Did not see it owns options separate from the preferences.
That's a relieve

Cheers, Sphere
Re: On/Off auto-type in preferences
My pleasure to pass it along, I think it was a post from Craig that Richard answered that pointed it out to me 


-
- VIP Livecode Opensource Backer
- Posts: 3202
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: On/Off auto-type in preferences
Thanks! I missed that too.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
Re: On/Off auto-type in preferences
I love group help, or, "correcting annoyances for recovering typing addicts" 


Re: On/Off auto-type in preferences
I just noticed this thread. These options should be moved to the Script Editor preferences.
But also: the worst irritant in the editor, which is so bad that I often find myself copying the entire script to the clipboard, pasting it into another editor, editing it, copying it back, and pasting it back into LiveCode, is that it insists upon moving the cursor to the first nonblank character in the line when I try to put the cursor at the left margin. How are you supposed to cut some lines of code from one place, and then insert them somewhere else? This misfeature is truly Evil. Drive a stake through its heart.
But also: the worst irritant in the editor, which is so bad that I often find myself copying the entire script to the clipboard, pasting it into another editor, editing it, copying it back, and pasting it back into LiveCode, is that it insists upon moving the cursor to the first nonblank character in the line when I try to put the cursor at the left margin. How are you supposed to cut some lines of code from one place, and then insert them somewhere else? This misfeature is truly Evil. Drive a stake through its heart.
Ciao,
Paul
Paul
Re: On/Off auto-type in preferences
Having a hard time visualizing what you mean pderocco, would you mind posting a couple screen shots?

-
- VIP Livecode Opensource Backer
- Posts: 3202
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: On/Off auto-type in preferences
The blinking cursor is just before the first char of text, but when you select a block of text for copying you get everything to the left margin.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
Re: On/Off auto-type in preferences
But when you try to paste it by putting the cursor at the start of some other line, the cursor bumps to the right, and inserting it there results in improper indentation.
Frankly, I don't understand why anyone would ever want the cursor to automatically jump to the first nonblank character in a line. That's not the behavior of any other editor I've used, so at the very least it should be possible to turn that off.
Frankly, I don't understand why anyone would ever want the cursor to automatically jump to the first nonblank character in a line. That's not the behavior of any other editor I've used, so at the very least it should be possible to turn that off.
Ciao,
Paul
Paul
-
- VIP Livecode Opensource Backer
- Posts: 3202
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: On/Off auto-type in preferences
Not sure what you mean by 'improper indentation'. Do you have Autoformat enabled?
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
Re: On/Off auto-type in preferences
No. My whole point is that I'm trying to turn ALL autoformatting off, and it keeps insisting it knows better.
Imagine the following lines (pretend they're code):
Note they're all indented four chars. If I drag from the beginning of the third line down to select ghi, and then cut it to the clipboard, I have four blanks, "ghi" and a return in the clipboard. (Yes, I can select starting from the beginning of the line, because the cursor only pops to the first nonblank character if I release the mouse without dragging.)
Now, I want to insert ghi between abc and def, so I try to put the cursor at the beginning of line 2, but it immediately jumps to the letter d. If I paste, I get:
That's what I mean by "improper indentation". The only way I can paste it the way I want is to click on the start of the line, and then hit ctrl+V before releasing the mouse button, which is an unnatural hack that I shouldn't have to do.
Doesn't anyone else do this? I can't believe that everyone doesn't have a problem with this, unless there's some hidden option that everyone else has set differently from me.
Imagine the following lines (pretend they're code):
Code: Select all
abc
def
ghi
Now, I want to insert ghi between abc and def, so I try to put the cursor at the beginning of line 2, but it immediately jumps to the letter d. If I paste, I get:
Code: Select all
abc
ghi
def
Doesn't anyone else do this? I can't believe that everyone doesn't have a problem with this, unless there's some hidden option that everyone else has set differently from me.
Ciao,
Paul
Paul
Re: On/Off auto-type in preferences
I don't know, from what your describing, when I see the incorrect formatting, I just hit the tab key after a paste and that sorts it all back out ( I use mostly mc2.x -> Lc 6.5 ), however, I was unable to reproduce what your looking at in this setup (Win10/Lc9.0.1rc)
On pasting, it automatically set the formatting correctly each time as far as I could tell.






The only time I saw the 4 spaces added was appending to an already existing line...

*Edit - might help to know which os / vers. your seeing this behavior in too.
*Edit 2 - is this your setup (found in the bug triage section) 9.0.1 on Windows 7 x64

-
- VIP Livecode Opensource Backer
- Posts: 3202
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: On/Off auto-type in preferences
Yeah, pressing the tab key will do the trick.
Also, if you enable AutoFormat when you paste the code it will be properly indented. That's what AutoFormat is for.
Also, if you enable AutoFormat when you paste the code it will be properly indented. That's what AutoFormat is for.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev