-
Notifications
You must be signed in to change notification settings - Fork 65
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
notepad.runMenuCommand in Hebrew #20
Comments
notepad.menuCommand(MENUCOMMAND.VIEW_WRAP) Works even if the Interface Language is set to Hebrew. |
@Yaron10 How is in case of Hebrew the command equivalent to notepad.runMenuCommand("View", "Word wrap") written and which direction do you use? RTL? |
Hello @chcg, Thanks for replying. I appreciate it. The command in Hebrew is I use NPP in Hebrew and the layout is RTL. Two related request: 1) Could you set the console layout to LTR even if NPP layout is RTL?
2) Could you add Unicode support to the menu? Allow me two more questions: 1) Dave's latest official version is 1.0.8.0. Why did you start with 0.6.3.0? 2) I've downloaded your latest Thanks also for your contribution to ComparePlugin. :) Best regards. |
Hello Claudia, Thanks for replying. I appreciate it. I'm using the DLL from the zip package. I don't get the error now. It was certainly there a few hours ago. However, NPP consistently hangs when I'm using the following script.
With the following
I've added several right/left toolbar buttons (using CustomizeToolbar; executing various scripts) and they all work properly except the Show/Hide one. Actually, just using Replacing the new
https://github.com/bruderstein/PythonScript/releases
Best regards. |
Ah, I see - you are right but I guess this is related to appveoy automatically pushing the artifacts |
Great. 👍 |
Would you mind restart npp, show console and post the output? |
Thanks. |
ok - and problem still exists? |
Yes, it does. |
You took the zip - you didn't build it yourself, didn't you? |
The original zip. |
And it also happens with the original NPP. |
It seems toolbar related |
I'm using some other buttons which work flawlessly. |
Did you try to run this from the menu? - For me it looks like running from the menu doesn't cause the issue |
Works fine from the menu. |
OK - now we need to understand what is causing it and why it isn't happening under debugger. |
Many thanks. |
Looks like there is a boost exception which cannot be handled. |
👍 Thanks again for looking into it. Appreciated. BTW, is there an updated |
The zip contains the help file of the current version - do you miss some infos? Show Console button - agreed, but currently the focus is getting a stable 64bit version and updating |
Great. I somehow missed that.
Sure. Thank you and good night. |
@Yaron10 @ClaudiaFrank Just wrote @bruderstein a mail to get some info about "missing" version 1.1.1. |
@Yaron10 Regarding the release dates. See https://github.com/bruderstein/PythonScript/tags. They show the original dates, but some days ago only the tags existed without a corresponding release info. So I created them from the changelog (http://npppythonscript.sourceforge.net/changelog.shtml), but it seems it is not possible to modify the creation date. |
Thank you for writing to Dave and for the explanation. |
Thanks for testing and letting me know. Trying to build the solution, I got the following errors: In the meantime, may I ask you to upload the DLL?
I do appreciate your help. |
@Yaron10 |
@Yaron10 See e.g. https://ci.appveyor.com/project/bruderstein/pythonscript/build/1.0.9.20/job/ja7nfkfk85wo550u/artifacts. So each PR will be build by appveyor. Compilation issue seems to be related to the missing update of the git submodule for google test, see e.g. https://git-scm.com/book/de/v1/Git-Tools-Submodule |
@Yaron10 Shouldn't the command be:
|
Yes, the string is Thanks again for your work. Appreciated. |
@Yaron10 You may want to test https://ci.appveyor.com/project/bruderstein/pythonscript/build/1.0.9.33, which contains the changes for unicode support for script filenames. |
👍 @ClaudiaFrank, Thanks again for your contribution. #34 is fixed too, isn't it? Some minor comments:
Best regards. |
I don't have any opinion on Last vs. Previous - for me, both explain the same. I understand ellipses, like this, as an info that says that the window has, let's say, multiple views. |
- added ellipsis to configuration menu item
👍
It's certainly not important but I think that Ellipses... Well... I thought the rule was that any command/button opening a new window should have an ellipses. But reading this article you seem to be right: no ellipses for
Allow me another minor comment: |
And |
OK, I have to admit I have no idea about GUI design rules but it is nice to see that MS has the same opinion. |
Great minds think alike.
I've ignored that too. :) |
Well, MS VS uses |
Maybe someone should tell the VS development team how to use ellipsis and point to their article :-D Actually, I think that article explains very well when it should be use and as more as I think about it I agree Makes sense, doesn't it? Showing Properties window is the action the button should do, therefore no ellipsis - I like it. But at the end - I don't care at all as I'm using npp without menu, tabbar ... most of the time. |
Yes, it does. So we'll raise a toast to whatever @chcg decides to do. :) |
@Yaron10 See Version 1.1, if further issue arise or something from here is missing please create new ones |
Hello @chcg and @ClaudiaFrank, 👍 Should |
@Yaron10 In this case it was a misunderstanding from my side. Thought just the wrong name Are you using version 1.1? From my tests it looks ok from console and script I think. Or is your expectation that also |
From within a script the encoding info is needed:
|
Yes, I am.
No. :)
👍 Thank you very much. |
Hello Dave,
When Notpad++ Interface Language is set to English, the following script is executed successfully.
notepad.runMenuCommand("View", "Word wrap")
However, I couldn't find a way to run that script if the Interface Language is set to Hebrew.
I've tried various ".decode('utf8')" commands, but to no avail.
Thank you for this great plugin.
The text was updated successfully, but these errors were encountered: