Ist das bei dir anders?
Ja - obiger Code komplett markiert: Strg+Shift+Q ergibt
AutoIt
#cs
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
ExitLoop
;~ Case $idCOLORREF
;~ _ShowChoice($hGUI, $idMemo, 0, _ChooseColor(0, 255, 0, $hGUI), "Gewählte COLORREF-Farbe: ")
Case $idBGR
_ShowChoice($hGUI, $idMemo, 1, _ChooseColor(2, 0x808000, 1, $hGUI), "Gewählte BGR-Farbe: ")
Case $idRGB
_ShowChoice($hGUI, $idMemo, 2, _ChooseColor(2, 0x0080C0, 2, $hGUI), "Gewählte RGB-Farbe: ")
EndSwitch
WEnd
EndFunc ;==>Example
#ce
Alles anzeigen
Hast du evtl. deinen Shortcut für Blockkommentar überschrieben?
Edit:
Allerdings hat diese Funktion noch nie als Toggle funktioniert - du kannst also nur den Blockkommentar setzen.