Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

context menu entry not grayed out #98

Closed
megabugman opened this issue Feb 25, 2017 · 16 comments
Closed

context menu entry not grayed out #98

megabugman opened this issue Feb 25, 2017 · 16 comments
Labels

Comments

@megabugman
Copy link

add some text, then delete it, undo, redo.
now redo should be grayed out
quirk3.gif
works as expected in other IDE
quirk4.gif

maestrith added a commit that referenced this issue Feb 27, 2017
-Context Menu for Undo/Redo were displaying when there was not data for them #98
-Deleting umlaut characters was causing an issue #97
-Inline commands for hotkeys were not displaying parameters #96
-Odd issue with resizing controls when clicking on Omni-Search #95
-Error message when cancelling a plugin download from menus #93
-Run Selected Text
--Added Run Selected Text to the main code and changed how it works with multiple selected lines #92
--Added Run Code Block to the main code Fixed the SingleInstance issue #91
-Ctrl+R and Ctrl+E were adding odd control characters to the script #90
-Right Click: Selection will not change when right clicking #89
-Double Click on anything like #NoEnv and it will now select the # #88
Fixed:
-Delete/Backspace would go letter by letter when using a single caret.  Multiple carets will still do this.
-If you add a space in the tab previous to the first word of a line it would crash Studi
Added:
-Command Help (F1):
--Directives now work
--Selected words will also work if it is found by AHK Studio
--No need to have the Caret after the Command
maestrith added a commit that referenced this issue Feb 27, 2017
-Context Menu for Undo/Redo were displaying when there was not data for them #98
-Deleting umlaut characters was causing an issue #97
-Inline commands for hotkeys were not displaying parameters #96
-Odd issue with resizing controls when clicking on Omni-Search #95
-Error message when cancelling a plugin download from menus #93
-Run Selected Text
--Added Run Selected Text to the main code and changed how it works with multiple selected lines #92
--Added Run Code Block to the main code Fixed the SingleInstance issue #91
-Ctrl+R and Ctrl+E were adding odd control characters to the script #90
-Right Click: Selection will not change when right clicking #89
-Double Click on anything like #NoEnv and it will now select the # #88
Fixed:
-Delete/Backspace would go letter by letter when using a single caret.  Multiple carets will still do this.
-If you add a space in the tab previous to the first word of a line it would crash Studi
Added:
-Command Help (F1):
--Directives now work
--Selected words will also work if it is found by AHK Studio
--No need to have the Caret after the Command
@maestrith
Copy link
Owner

Addressed in 1.003.13. Please close this thread if it is fixed.

@megabugman
Copy link
Author

megabugman commented Feb 28, 2017

as far as I see the issue has been fixed by hiding the Redo command from the context menu.
this is not the fix I had expected. rather than hiding the command should be greyed out like in any other
typical win application I know of.
1a.png
more commands like cut, paste and delete are affected, hiding all of them when applicable will definitely lead to confusion as any deviation from standard windows behavior IMO does.
see also issue 104 here

issue 104 is probably a duplicate of this report.

@maestrith
Copy link
Owner

yea, it's just easier to not have them in the menu because I am building the menu every time. I'll see what I can do.

maestrith added a commit that referenced this issue Feb 28, 2017
-Context Menu: items that are not applicable are greyed out #98
-Deleting umlaut characters was causing an issue #97
-Inline commands for hotkeys were not displaying parameters #96
-Odd issue with resizing controls when clicking on Omni-Search #95
-Error message when cancelling a plugin download from menus #93
-Run Selected Text
--Added Run Selected Text to the main code and changed how it works with multiple selected lines #92
--Added Run Code Block to the main code Fixed the SingleInstance issue #91
-Ctrl+R and Ctrl+E were adding odd control characters to the script #90
-Right Click: Selection will not change when right clicking #89
-Double Click on anything like #NoEnv and it will now select the # #88
Fixed:
-Delete/Backspace would go letter by letter when using a single caret.  Multiple carets will still do this.
-If you add a space in the tab previous to the first word of a line it would crash Studi
Added:
-Command Help (F1):
--Directives now work
--Selected words will also work if it is found by AHK Studio
--No need to have the Caret after the Command
@maestrith
Copy link
Owner

Should be addressed in the latest 1.003.13

@megabugman
Copy link
Author

megabugman commented Feb 28, 2017

now undo is broken. (greyed out, after deleting some text)
shortcut ctrl+z works.

maestrith added a commit that referenced this issue Feb 28, 2017
-Context Menu: items that are not applicable are greyed out #98
-Deleting umlaut characters was causing an issue #97
-Inline commands for hotkeys were not displaying parameters #96
-Odd issue with resizing controls when clicking on Omni-Search #95
-Error message when cancelling a plugin download from menus #93
-Run Selected Text
--Added Run Selected Text to the main code and changed how it works with multiple selected lines #92
--Added Run Code Block to the main code Fixed the SingleInstance issue #91
-Ctrl+R and Ctrl+E were adding odd control characters to the script #90
-Right Click: Selection will not change when right clicking #89
-Double Click on anything like #NoEnv and it will now select the # #88
Fixed:
-Delete/Backspace would go letter by letter when using a single caret.  Multiple carets will still do this.
-If you add a space in the tab previous to the first word of a line it would crash Studi
Added:
-Command Help (F1):
--Directives now work
--Selected words will also work if it is found by AHK Studio
--No need to have the Caret after the Command
@maestrith
Copy link
Owner

LOL! Missed some (). Should be fixed

@megabugman
Copy link
Author

yeah, works now.
though I found another issue :)

ATM Open Folder Command in Context Menu does nothing (in a fresh/unsaved project) ergo should also be greyed out .

@maestrith
Copy link
Owner

ah ok

maestrith added a commit that referenced this issue Feb 28, 2017
-Context Menu: items that are not applicable are greyed out #98
-Deleting umlaut characters was causing an issue #97
-Inline commands for hotkeys were not displaying parameters #96
-Odd issue with resizing controls when clicking on Omni-Search #95
-Error message when cancelling a plugin download from menus #93
-Run Selected Text
--Added Run Selected Text to the main code and changed how it works with multiple selected lines #92
--Added Run Code Block to the main code Fixed the SingleInstance issue #91
-Ctrl+R and Ctrl+E were adding odd control characters to the script #90
-Right Click: Selection will not change when right clicking #89
-Double Click on anything like #NoEnv and it will now select the # #88
Fixed:
-Delete/Backspace would go letter by letter when using a single caret.  Multiple carets will still do this.
-If you add a space in the tab previous to the first word of a line it would crash Studi
Added:
-Command Help (F1):
--Directives now work
--Selected words will also work if it is found by AHK Studio
--No need to have the Caret after the Command
@maestrith
Copy link
Owner

updated.

@maestrith
Copy link
Owner

I rarely use the mouse and even less for most of what the menus do. I usually keep my Studio to a main edit window and that's it so there are bound to be issues with it.

@maestrith
Copy link
Owner

So far...
if(((code:=UnRedo[ea.name])&&!sc[code])||(sc.2008=sc.2009&&ea.name~="Copy|Cut|Delete")||Clipboard=""&&ea.name="Paste"||sc.2143=0&&sc.2145=sc.2006&&ea.name="Select All"||ea.name="Open Folder"&&Current(2).untitled)if(((code:=UnRedo[ea.name])&&!sc[code])||(sc.2008=sc.2009&&ea.name~="Copy|Cut|Delete")||Clipboard=""&&ea.name="Paste"||sc.2143=0&&sc.2145=sc.2006&&ea.name="Select All"||ea.name="Open Folder"&&Current(2).untitled)

@megabugman
Copy link
Author

I rarely use the mouse

ah ok, I understand then. Open Folder is fixed.
found another one:
toggle quick find toolbar position should not be available in Global Notes I guess
move_to_top.png

@megabugman
Copy link
Author

Global Notes Context Menu should also have some commands greyed out (I actually am guessing as I dunno exactly what they do).
globalnotes.png

maestrith added a commit that referenced this issue Feb 28, 2017
-Context Menu: items that are not applicable are greyed out #98
-Deleting umlaut characters was causing an issue #97
-Inline commands for hotkeys were not displaying parameters #96
-Odd issue with resizing controls when clicking on Omni-Search #95
-Error message when cancelling a plugin download from menus #93
-Run Selected Text
--Added Run Selected Text to the main code and changed how it works with multiple selected lines #92
--Added Run Code Block to the main code Fixed the SingleInstance issue #91
-Ctrl+R and Ctrl+E were adding odd control characters to the script #90
-Right Click: Selection will not change when right clicking #89
-Double Click on anything like #NoEnv and it will now select the # #88
Fixed:
-Delete/Backspace would go letter by letter when using a single caret.  Multiple carets will still do this.
-If you add a space in the tab previous to the first word of a line it would crash Studi
Added:
-Command Help (F1):
--Directives now work
--Selected words will also work if it is found by AHK Studio
--No need to have the Caret after the Command
maestrith added a commit that referenced this issue Feb 28, 2017
-Zoom causing line numbers to get cropped #108
-Context Menu: items that are not applicable are greyed out #98
-Deleting umlaut characters was causing an issue #97
-Inline commands for hotkeys were not displaying parameters #96
-Odd issue with resizing controls when clicking on Omni-Search #95
-Error message when cancelling a plugin download from menus #93
-Run Selected Text
--Added Run Selected Text to the main code and changed how it works with multiple selected lines #92
--Added Run Code Block to the main code Fixed the SingleInstance issue #91
-Ctrl+R and Ctrl+E were adding odd control characters to the script #90
-Right Click: Selection will not change when right clicking #89
-Double Click on anything like #NoEnv and it will now select the # #88
Fixed:
-Delete/Backspace would go letter by letter when using a single caret.  Multiple carets will still do this.
-If you add a space in the tab previous to the first word of a line it would crash Studi
Added:
-Command Help (F1):
--Directives now work
--Selected words will also work if it is found by AHK Studio
--No need to have the Caret after the Command
maestrith added a commit that referenced this issue Feb 28, 2017
-Omni-Search: Removed the Omni-Search option from Omni-Search
-Zoom causing line numbers to get cropped #108
-Context Menu: items that are not applicable are greyed out #98
-Deleting umlaut characters was causing an issue #97
-Inline commands for hotkeys were not displaying parameters #96
-Odd issue with resizing controls when clicking on Omni-Search #95
-Error message when cancelling a plugin download from menus #93
-Run Selected Text
--Added Run Selected Text to the main code and changed how it works with multiple selected lines #92
--Added Run Code Block to the main code Fixed the SingleInstance issue #91
-Ctrl+R and Ctrl+E were adding odd control characters to the script #90
-Right Click: Selection will not change when right clicking #89
-Double Click on anything like #NoEnv and it will now select the # #88
Fixed:
-Delete/Backspace would go letter by letter when using a single caret.  Multiple carets will still do this.
-If you add a space in the tab previous to the first word of a line it would crash Studi
Added:
-Command Help (F1):
--Directives now work
--Selected words will also work if it is found by AHK Studio
--No need to have the Caret after the Command
maestrith added a commit that referenced this issue Feb 28, 2017
-Omni-Search: Removed the Omni-Search option from Omni-Search
-Zoom causing line numbers to get cropped #108
-Context Menu: items that are not applicable are greyed out #98
-Deleting umlaut characters was causing an issue #97
-Inline commands for hotkeys were not displaying parameters #96
-Odd issue with resizing controls when clicking on Omni-Search #95
-Error message when cancelling a plugin download from menus #93
-Run Selected Text
--Added Run Selected Text to the main code and changed how it works with multiple selected lines #92
--Added Run Code Block to the main code Fixed the SingleInstance issue #91
-Ctrl+R and Ctrl+E were adding odd control characters to the script #90
-Right Click: Selection will not change when right clicking #89
-Double Click on anything like #NoEnv and it will now select the # #88
Fixed:
-Delete/Backspace would go letter by letter when using a single caret.  Multiple carets will still do this.
-If you add a space in the tab previous to the first word of a line it would crash Studi
Added:
-Command Help (F1):
--Directives now work
--Selected words will also work if it is found by AHK Studio
--No need to have the Caret after the Command
maestrith added a commit that referenced this issue Feb 28, 2017
-Omni-Search: Removed the Omni-Search option from Omni-Search
-Zoom causing line numbers to get cropped #108
-Context Menu: items that are not applicable are greyed out #98
-Deleting umlaut characters was causing an issue #97
-Inline commands for hotkeys were not displaying parameters #96
-Odd issue with resizing controls when clicking on Omni-Search #95
-Error message when cancelling a plugin download from menus #93
-Run Selected Text
--Added Run Selected Text to the main code and changed how it works with multiple selected lines #92
--Added Run Code Block to the main code Fixed the SingleInstance issue #91
-Ctrl+R and Ctrl+E were adding odd control characters to the script #90
-Right Click: Selection will not change when right clicking #89
-Double Click on anything like #NoEnv and it will now select the # #88
Fixed:
-Delete/Backspace would go letter by letter when using a single caret.  Multiple carets will still do this.
-If you add a space in the tab previous to the first word of a line it would crash Studi
Added:
-Command Help (F1):
--Directives now work
--Selected words will also work if it is found by AHK Studio
--No need to have the Caret after the Command
maestrith added a commit that referenced this issue Feb 28, 2017
-Omni-Search: Removed the Omni-Search option from Omni-Search
-Zoom causing line numbers to get cropped #108
-Context Menu: items that are not applicable are greyed out #98
-Deleting umlaut characters was causing an issue #97
-Inline commands for hotkeys were not displaying parameters #96
-Odd issue with resizing controls when clicking on Omni-Search #95
-Error message when cancelling a plugin download from menus #93
-Run Selected Text
--Added Run Selected Text to the main code and changed how it works with multiple selected lines #92
--Added Run Code Block to the main code Fixed the SingleInstance issue #91
-Ctrl+R and Ctrl+E were adding odd control characters to the script #90
-Right Click: Selection will not change when right clicking #89
-Double Click on anything like #NoEnv and it will now select the # #88
Fixed:
-Delete/Backspace would go letter by letter when using a single caret.  Multiple carets will still do this.
-If you add a space in the tab previous to the first word of a line it would crash Studi
Added:
-Command Help (F1):
--Directives now work
--Selected words will also work if it is found by AHK Studio
--No need to have the Caret after the Command
@megabugman
Copy link
Author

context menu seems broken by now, cut for example not longer working.
quicks22.gif

@megabugman
Copy link
Author

megabugman commented Feb 28, 2017

another issue: first split Scintilla Control, then press Right Mouse Button

  • Open Folder Menu Entry does nothing, but is not greyed out.

maestrith added a commit that referenced this issue Mar 20, 2017
-Right Click Menu: Cut not working
-Split Control then RCM Open Folder not being greyed out in the new control
Fixed: Reported by jsilverstreak #111
-Hide Tray Icon: Was not remembering from run to run
maestrith added a commit that referenced this issue Mar 28, 2017
-Right Click Menu: Cut not working
-Split Control then RCM Open Folder not being greyed out in the new control
Fixed: Reported by jsilverstreak #111
-Hide Tray Icon: Was not remembering from run to run
maestrith added a commit that referenced this issue Mar 28, 2017
-Right Click Menu: Cut not working
-Split Control then RCM Open Folder not being greyed out in the new control
Fixed: Reported by jsilverstreak #111
-Hide Tray Icon: Was not remembering from run to run
Fixed: Reported by nnnik
-Pressing Delete was not causing the file to be edited
@megabugman
Copy link
Author

closed, too many issues in one report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants