Re: Underscore uncomment bug in OSX

2015-07-22 Thread Peter Haworth
Hi Jerry,
The keyboard shortcut to uncomment works for me.  This is on OSX 10.10.4
and LC 6.6.5

On Wed, Jul 22, 2015 at 1:20 PM Jerry Jensen  wrote:

> Hello bug chasers,
>
> This is regarding bug report 11142:
> http://quality.runrev.com/show_bug.cgi?id=11142&list_id=33024
>
> I first reported this almost 2 years ago, and it had been happening for a
> while before that. I just received a note from Panos that it is fixed in
> 6.7.6 and probably before. It is still broken for me so I reopened the bug
> report. I just tested it in LC 5.5.4 and 6.7.6 with no externals or plugins
> and it still fails. It has never been observed to fail at RR HQ.
>
> I’m running OSX 10.10.4 with a stock Apple wired keyboard.
>
> Anybody else? Its quick to check with the recipe there.
>
> Thanks,
> Jerry
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Underscore uncomment bug in OSX

2015-07-22 Thread Colin Holgate
It works for me too. I used the bug report stack and followed the directions 
carefully. Command - comments, Command shift - uncomments.

I tried in 7.0.5, under Mac OS 10.11.


> On Jul 22, 2015, at 4:40 PM, Peter Haworth  wrote:
> 
> Hi Jerry,
> The keyboard shortcut to uncomment works for me.  This is on OSX 10.10.4
> and LC 6.6.5
> 
> On Wed, Jul 22, 2015 at 1:20 PM Jerry Jensen  wrote:
> 
>> Hello bug chasers,
>> 
>> This is regarding bug report 11142:
>> http://quality.runrev.com/show_bug.cgi?id=11142&list_id=33024
>> 
>> I first reported this almost 2 years ago, and it had been happening for a
>> while before that. I just received a note from Panos that it is fixed in
>> 6.7.6 and probably before. It is still broken for me so I reopened the bug
>> report. I just tested it in LC 5.5.4 and 6.7.6 with no externals or plugins
>> and it still fails. It has never been observed to fail at RR HQ.
>> 
>> I’m running OSX 10.10.4 with a stock Apple wired keyboard.
>> 
>> Anybody else? Its quick to check with the recipe there.
>> 
>> Thanks,
>> Jerry
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Underscore uncomment bug in OSX

2015-07-22 Thread BNig
Hi Jerry,

using your stack commenting and uncommenting works from the keyboard using
MacOSX 10.9.5 and
LC 7.1 DP1
LC 6.6.5

have you assigned a system wide shortcut via system preferences -> keyboard
by any chance? Just a guess.

Kind regards
Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Underscore-uncomment-bug-in-OSX-tp4694218p4694222.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Underscore uncomment bug in OSX

2015-07-22 Thread Mark Wieder
Jerry-

Sorry to report that it works for me.
Command-underscore comments
Command-shift-underscore removes comments

OSX 10.10.4
LC 6.7.7 rc1
Mac Air
no third-party components

-- 
 Mark Wieder
 ahsoftw...@gmail.com



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Underscore uncomment bug in OSX

2015-07-22 Thread Jerry Jensen

> On Jul 22, 2015, at 2:37 PM, Mark Wieder  wrote:
> 
> Jerry-
> 
> Sorry to report that it works for me.
> Command-underscore comments
> Command-shift-underscore removes comments
> 
> OSX 10.10.4
> LC 6.7.7 rc1
> Mac Air
> no third-party components

Thanks Mark, Peter, Colin and Bernd. Very mysterious! I’ll try it on a few 
other computers at work when I get back there tomorrow.
.Jerry



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Underscore uncomment bug in OSX

2015-07-22 Thread Robert Brenstein

On 22.07.2015 at 16:56 Uhr -0700 Jerry Jensen apparently wrote:


Thanks Mark, Peter, Colin and Bernd. Very mysterious! I'll try it on 
a few other computers at work when I get back there tomorrow.

.Jerry



Have you checked whether the behavior is keyboard related by chance?

RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Underscore uncomment bug in OSX

2015-07-22 Thread Paul Hibbert
This has never worked for me on OS X with any version of LC and I had just got 
used to ignoring it. I have checked for conflicts and can’t find any.

The strange thing is, the shortcut causes the ‘Edit’ menu to flash as though it 
is being chosen, then I found that if I click the ‘Edit’ menu once so it stays 
open and then use the shortcut it works! - Strange.

But now seeing this works for other people I decided to play around with the 
keyboard control panel, under the ‘Shortcuts’ tab I added an App Shortcut for 
all applications as ‘Uncomment’ with the key combination of 'shift ctrl -‘. 
Well that shortcut doesn’t work, but it does show as the shortcut for 
‘Uncomment’ in the ‘Edit’ menu of LC, but oddly, ‘shift cmd -‘ does sort of 
work with LC 6 & 7 (not 5).

Now if the insertion cursor is on a line of commented text within a handler, 
using the shortcut will uncomment this line and also attempt to uncomment the 
line above, however, if the insertion cursor is on a line of commented text 
outside of a handler, using the shortcut will uncomment just the one line.

I can add my comments to the bug report if you think it will help. I’m using 
LC7.0.6(rc3) on OS X 10.10.4

Baffled.

Paul


> On Jul 22, 2015, at 16:56, Jerry Jensen  wrote:
> 
> 
>> On Jul 22, 2015, at 2:37 PM, Mark Wieder  wrote:
>> 
>> Jerry-
>> 
>> Sorry to report that it works for me.
>> Command-underscore comments
>> Command-shift-underscore removes comments
>> 
>> OSX 10.10.4
>> LC 6.7.7 rc1
>> Mac Air
>> no third-party components
> 
> Thanks Mark, Peter, Colin and Bernd. Very mysterious! I’ll try it on a few 
> other computers at work when I get back there tomorrow.
> .Jerry
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



Regards,

Paul Hibbert
p...@livecode.org




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Underscore uncomment bug in OSX

2015-07-22 Thread Jerry Jensen

> On Jul 22, 2015, at 5:41 PM, Robert Brenstein  wrote:
> 
> On 22.07.2015 at 16:56 Uhr -0700 Jerry Jensen apparently wrote:
>> 
>> Thanks Mark, Peter, Colin and Bernd. Very mysterious! I'll try it on a few 
>> other computers at work when I get back there tomorrow.
>> .Jerry
>> 
> 
> Have you checked whether the behavior is keyboard related by chance?

Thanks for the suggestion, Robert.

Yep - two different wired Apple keyboards (with and without numeric keypad) 
plugged directly into the MacBookPro or into a Thunderblt monitor. Also checked 
the System Preferences Keyboard pane - no joy. This also happened with some 
former MacBookPros. When I have a chance, I’ll configure a virgin minimal 
system to try.
.Jerry


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Underscore uncomment bug in OSX

2015-07-22 Thread Jerry Jensen
Oh thank you Paul! I am not crazy (well, not about that anyway!). What model 
computer are you using?
Yes, please add this to the comments in the bug report. I do think it will help.
.Jerry

> On Jul 22, 2015, at 5:50 PM, Paul Hibbert  wrote:
> 
> This has never worked for me on OS X with any version of LC and I had just 
> got used to ignoring it. I have checked for conflicts and can’t find any.
> 
> The strange thing is, the shortcut causes the ‘Edit’ menu to flash as though 
> it is being chosen, then I found that if I click the ‘Edit’ menu once so it 
> stays open and then use the shortcut it works! - Strange.
> 
> But now seeing this works for other people I decided to play around with the 
> keyboard control panel, under the ‘Shortcuts’ tab I added an App Shortcut for 
> all applications as ‘Uncomment’ with the key combination of 'shift ctrl -‘. 
> Well that shortcut doesn’t work, but it does show as the shortcut for 
> ‘Uncomment’ in the ‘Edit’ menu of LC, but oddly, ‘shift cmd -‘ does sort of 
> work with LC 6 & 7 (not 5).
> 
> Now if the insertion cursor is on a line of commented text within a handler, 
> using the shortcut will uncomment this line and also attempt to uncomment the 
> line above, however, if the insertion cursor is on a line of commented text 
> outside of a handler, using the shortcut will uncomment just the one line.
> 
> I can add my comments to the bug report if you think it will help. I’m using 
> LC7.0.6(rc3) on OS X 10.10.4
> 
> Baffled.
> 
> Paul
> 
> 
>> On Jul 22, 2015, at 16:56, Jerry Jensen  wrote:
>> 
>> 
>>> On Jul 22, 2015, at 2:37 PM, Mark Wieder  wrote:
>>> 
>>> Jerry-
>>> 
>>> Sorry to report that it works for me.
>>> Command-underscore comments
>>> Command-shift-underscore removes comments
>>> 
>>> OSX 10.10.4
>>> LC 6.7.7 rc1
>>> Mac Air
>>> no third-party components
>> 
>> Thanks Mark, Peter, Colin and Bernd. Very mysterious! I’ll try it on a few 
>> other computers at work when I get back there tomorrow.
>> .Jerry
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> Regards,
> 
> Paul Hibbert
> p...@livecode.org
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Underscore uncomment bug in OSX

2015-07-22 Thread Mark Wieder

On 07/22/2015 05:59 PM, Jerry Jensen wrote:


Oh thank you Paul! I am not crazy


I don't think that's a logical conclusion...
it just means that now there are two of you.



--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Underscore uncomment bug in OSX

2015-07-22 Thread Paul Hibbert
I normally work on a 2009 iMac, but I’ve just installed LC 7.1.0(dp1) on my 
2015 MacBook Pro and it’s doing exactly the same as the iMac, i.e. it doesn’t 
work correctly and adding the system shortcut is only a partial workaround. The 
MBP is also on OS X 10.10.4.

I’ll head over to the bug report now.

Paul


> On Jul 22, 2015, at 17:59, Jerry Jensen  wrote:
> 
> Oh thank you Paul! I am not crazy (well, not about that anyway!). What model 
> computer are you using?
> Yes, please add this to the comments in the bug report. I do think it will 
> help.
> .Jerry
> 



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Underscore uncomment bug in OSX

2015-07-22 Thread Paul Hibbert
Probably more, but at least we’re in good company!!! :)

Paul

> On Jul 22, 2015, at 18:24, Mark Wieder  wrote:
> 
> On 07/22/2015 05:59 PM, Jerry Jensen wrote:
> 
>> Oh thank you Paul! I am not crazy
> 
> I don't think that's a logical conclusion...
> it just means that now there are two of you.
> 
> 
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Underscore uncomment bug in OSX

2015-07-23 Thread Alan Stenhouse
The uncomment keyboard shortcut has never worked for me either, would love if 
it did.

Interestingly, after someone posted about holding open the menu and then trying 
it, it does work. Haven’t investigated further though.

Wonder if it’s possibly related to having multiple keyboard languages 
available. 

Was surprised to hear from many that it works fine for them…!! Thought that it 
was again, one of those things…

cheers

Alan

On 23 Jul 2015, at 12:00 pm, use-livecode-requ...@lists.runrev.com wrote:

> I normally work on a 2009 iMac, but I?ve just installed LC 7.1.0(dp1) on my 
> 2015 MacBook Pro and it?s doing exactly the same as the iMac, i.e. it doesn?t 
> work correctly and adding the system shortcut is only a partial workaround. 
> The MBP is also on OS X 10.10.4.
> 
> I?ll head over to the bug report now.
> 
> Paul
> 
> 
>> On Jul 22, 2015, at 17:59, Jerry Jensen  wrote:
>> 
>> Oh thank you Paul! I am not crazy (well, not about that anyway!). What model 
>> computer are you using?
>> Yes, please add this to the comments in the bug report. I do think it will 
>> help.
>> .Jerry


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Underscore uncomment bug in OSX

2015-07-23 Thread Robert Brenstein

On 22.07.2015 at 17:55 Uhr -0700 Jerry Jensen apparently wrote:

Thanks for the suggestion, Robert.

Yep - two different wired Apple keyboards (with and without numeric 
keypad) plugged directly into the MacBookPro or into a Thunderblt 
monitor. Also checked the System Preferences Keyboard pane - no joy. 
This also happened with some former MacBookPros. When I have a 
chance, I'll configure a virgin minimal system to try.

.Jerry


Is that an American keyboard? On some national keyboard layouts, one 
has to press the shift key to produce the underscore itself.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Underscore uncomment bug in OSX

2015-07-23 Thread Jerry Jensen

> On Jul 23, 2015, at 6:00 AM, Robert Brenstein  wrote:
> 
> On 22.07.2015 at 17:55 Uhr -0700 Jerry Jensen apparently wrote:
>> Thanks for the suggestion, Robert.
>> 
>> Yep - two different wired Apple keyboards (with and without numeric keypad) 
>> plugged directly into the MacBookPro or into a Thunderblt monitor. Also 
>> checked the System Preferences Keyboard pane - no joy. This also happened 
>> with some former MacBookPros. When I have a chance, I'll configure a virgin 
>> minimal system to try.
>> .Jerry
> 
> Is that an American keyboard? On some national keyboard layouts, one has to 
> press the shift key to produce the underscore itself.

Yes, a standard American English keyboard. Two different models and the 
internal keyboard of a MacBookPro.
Some more things its not:
Font in LC Prefs (set to Default 12 or 16)
For sure not a customized shortcut in System Prefs Keyboard pane.
Its not this physical hardware. I made a virgin Mavericks LC 6.7.6 external 
disk that works fine.
It also works fine on another iMac here with Mavericks and LC 5.5.4.
Its not something lurking in old "My RunRev" folders (now trashed).

Anybody have more suggestions? I have a lot of old stuff on this computer - 
being a packrat I never throw anything away unless it bites me. How about 
removing LC Preferences? I forget where they are . . .
.Jerry



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Underscore uncomment bug in OSX

2015-07-23 Thread Peter Haworth
Out of interest, what comment characters and indent do you have set in
Livecode Preferences?  I have "--" and indent of 3 and wondering if some
combination of those settings might trigger the problem.

On Thu, Jul 23, 2015 at 2:20 PM Jerry Jensen  wrote:

>
> > On Jul 23, 2015, at 6:00 AM, Robert Brenstein  wrote:
> >
> > On 22.07.2015 at 17:55 Uhr -0700 Jerry Jensen apparently wrote:
> >> Thanks for the suggestion, Robert.
> >>
> >> Yep - two different wired Apple keyboards (with and without numeric
> keypad) plugged directly into the MacBookPro or into a Thunderblt monitor.
> Also checked the System Preferences Keyboard pane - no joy. This also
> happened with some former MacBookPros. When I have a chance, I'll configure
> a virgin minimal system to try.
> >> .Jerry
> >
> > Is that an American keyboard? On some national keyboard layouts, one has
> to press the shift key to produce the underscore itself.
>
> Yes, a standard American English keyboard. Two different models and the
> internal keyboard of a MacBookPro.
> Some more things its not:
> Font in LC Prefs (set to Default 12 or 16)
> For sure not a customized shortcut in System Prefs Keyboard pane.
> Its not this physical hardware. I made a virgin Mavericks LC 6.7.6
> external disk that works fine.
> It also works fine on another iMac here with Mavericks and LC 5.5.4.
> Its not something lurking in old "My RunRev" folders (now trashed).
>
> Anybody have more suggestions? I have a lot of old stuff on this computer
> - being a packrat I never throw anything away unless it bites me. How about
> removing LC Preferences? I forget where they are . . .
> .Jerry
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Underscore uncomment bug in OSX

2015-07-23 Thread Jerry Jensen
Thanks for the suggestion, but I’m the same as you, “—“ and indent of 3.
.Jerry

> On Jul 23, 2015, at 3:53 PM, Peter Haworth  wrote:
> 
> Out of interest, what comment characters and indent do you have set in
> Livecode Preferences?  I have "--" and indent of 3 and wondering if some
> combination of those settings might trigger the problem.
> 
> On Thu, Jul 23, 2015 at 2:20 PM Jerry Jensen  wrote:
> 
>> 
>>> On Jul 23, 2015, at 6:00 AM, Robert Brenstein  wrote:
>>> 
>>> On 22.07.2015 at 17:55 Uhr -0700 Jerry Jensen apparently wrote:
 Thanks for the suggestion, Robert.
 
 Yep - two different wired Apple keyboards (with and without numeric
>> keypad) plugged directly into the MacBookPro or into a Thunderblt monitor.
>> Also checked the System Preferences Keyboard pane - no joy. This also
>> happened with some former MacBookPros. When I have a chance, I'll configure
>> a virgin minimal system to try.
 .Jerry
>>> 
>>> Is that an American keyboard? On some national keyboard layouts, one has
>> to press the shift key to produce the underscore itself.
>> 
>> Yes, a standard American English keyboard. Two different models and the
>> internal keyboard of a MacBookPro.
>> Some more things its not:
>> Font in LC Prefs (set to Default 12 or 16)
>> For sure not a customized shortcut in System Prefs Keyboard pane.
>> Its not this physical hardware. I made a virgin Mavericks LC 6.7.6
>> external disk that works fine.
>> It also works fine on another iMac here with Mavericks and LC 5.5.4.
>> Its not something lurking in old "My RunRev" folders (now trashed).
>> 
>> Anybody have more suggestions? I have a lot of old stuff on this computer
>> - being a packrat I never throw anything away unless it bites me. How about
>> removing LC Preferences? I forget where they are . . .
>> .Jerry
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Underscore uncomment bug in OSX

2015-07-24 Thread Peter M. Brigham
Here's the workaround that I have been using, in case others find it useful. I 
put it into a controlkeydown handler in my LC frontscript. All my script 
shortcuts use control-shift-. The command doUndoSpace types a space and 
then deletes it, to make sure LC knows that editing has been done and the 
script needs re-checking. This may not be necessary in later LC versions (I 
operate still in 5.5 -- I know, I'm a dinosaur). So control-shift- 
comments out a line or lines, control-shift-= uncomments a line or lines.

on controlkeydown which
   put the long name of the target into tarName
   put the shiftkey is down into shK
   switch which
  case "-"
  case "_" -- comment out the line -- until Rev fixes the commandkey 
shortcut
 if not shK then pass controlkeydown
 if "field" is not in tarName then pass controlkeydown
 if "revNewScriptEditor" is not in tarName then pass controlkeydown
 put the selectedLine into tLineCh
 put "-" & "-" into cmntChars
 if " to " is in tLineCh then
put word 2 of tLineCh into stLineNbr
put word 4 of tLineCh into endLineNbr
repeat with n = stLineNbr to endLineNbr
   put "put cmntChars & space before word 1 of line" && n && "of" 
&& tarName \
 into theDo
   do theDo
end repeat
-- put scriptLinesText into line stLineNbr to endLineNbr of the 
target
put endLineNbr into selectHere
 else
put word 2 of tLineCh into lineNbr
put the long name of the target into tLongName
put sr(line lineNbr of the target) into tLineText
do "put cmntChars & space before word 1 of" && tLineCh
put lineNbr into selectHere
 end if
 doUndoSpace
 send "tabkey" to tarname -- to fix indenting
 select after line selectHere of the target
 break
  case "="
  case "+" -- uncomment the line -- until Rev fixes the commandkey shortcut
 if not shK then pass controlkeydown
 if "field" is not in tarName then pass controlkeydown
 if "revNewScriptEditor" is not in tarName then pass controlkeydown
 put the selectedLine into tLineCh
 if " to " is in tLineCh then
put word 2 of tLineCh into stLineNbr
put word 4 of tLineCh into endLineNbr
put line stLineNbr to endLineNbr of target into scriptLinesText
repeat with n = 1 to the number of lines of scriptLinesText
   put sr(line n of scriptLinesText) into tLineText
   if char 1 to 2 of tLineText = "-" & "-"
   then delete char 1 to 2 of tLineText
   put tLineText into line n of scriptLinesText
end repeat
put scriptLinesText into line stLineNbr to endLineNbr of the target
 else
put sr(value(tLineCh)) into tLineText
if char 1 to 2 of tLineText = "-"&"-" then
   delete char 1 to 2 of tLineText
   do "put tLineText into" && tLineCh
end if
 end if
 doUndoSpace
 send "tabkey" to tarname
 break
  default
 pass controlkeydown
   end switch
end controlkeydown

private command doUndoSpace
   -- this solves the problem that after the above scripted operations
   -- the script editor remains unaware that the script has changed,
   -- so an  will close but not save the changed script
   -- thus we have to *type* at least one character
   lock screen
   put the selectedText into selTxt
   type numToChar(32) -- the important step
   put word 4 of the selectedChunk into charNbr
   put selTxt into char charNbr of the target
   unlock screen
end doUndoSpace

function sr pText
   return word 1 to -1 of pText
end sr

On Jul 23, 2015, at 6:30 AM, Alan Stenhouse wrote:

> The uncomment keyboard shortcut has never worked for me either, would love if 
> it did.
> 
> Interestingly, after someone posted about holding open the menu and then 
> trying it, it does work. Haven’t investigated further though.
> 
> Wonder if it’s possibly related to having multiple keyboard languages 
> available. 
> 
> Was surprised to hear from many that it works fine for them…!! Thought that 
> it was again, one of those things…
> 
> cheers
> 
> Alan
> 
> On 23 Jul 2015, at 12:00 pm, use-livecode-requ...@lists.runrev.com wrote:
> 
>> I normally work on a 2009 iMac, but I?ve just installed LC 7.1.0(dp1) on my 
>> 2015 MacBook Pro and it?s doing exactly the same as the iMac, i.e. it 
>> doesn?t work correctly and adding the system shortcut is only a partial 
>> workaround. The MBP is also on OS X 10.10.4.
>> 
>> I?ll head over to the bug report now.
>> 
>> Paul
>> 
>> 
>>> On Jul 22, 2015, at 17:59, Jerry Jensen  wrote:
>>> 
>>> Oh thank you Paul! I am not crazy (well, not about that anyway!). What 
>>> model computer are you using?
>>> Yes, please add this to the comments in the bu