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

Issues: Wordrap not persistent, StyleConf not saving, no AHK, Horiz scroll, etc.. #376

Open
mdnava opened this issue Jun 8, 2024 · 2 comments

Comments

@mdnava
Copy link

mdnava commented Jun 8, 2024

Hello there!

I have been using grepWin for while now, but I've just very recently found out / tried BowPad.

I'm astonished by this editor. Particularly by its speed, simplicity, the multiple selection edit, and of course its file list sidebar. However, there are a few issues that I think prevent me from actually using it, I just thought I should mention.

  1. Wordwrap setting is not persistent between sessions. If I set Wordwrap to OFF for any file (like a ,txt file), next time I open the file Wordpwrap is ON. Ideally the Wordwrap setting should be persistent for each filetype. Not sure if other settings are not persistent, but they should be, since there aren't actual settings besides what's on the ribbons.

  2. I tried to customize some filetypes in the Style Configurator, but when I was with CSharp I noticed changes were not being saved at all. For example, I changed TYPE WORD to red color, the removed BOLD from INSTRUCTION WORD, and set OPERATOR to color BLACK. When I pressed OK all changes were lost.. And when I checked back I believe most changes I had done to other filetypes were also lost, but this would be hard to verify, since I did many quick changes I can't remember. This is definitely a huge issue.

  3. I also believe if there was a better way to add or modify lexers, other people (like me) perhaps could contribute.

  4. No AutoHotkey lexer :( ... And no way of adding a custom lexer.

  5. I believe the horizontal scrollbar should be hidden if there's no horizontal text overflow.
    This is a minor issue, but still worth mentioning.

  6. Some monospaced fonts seem to have an issue with spaces (and it seems line height too). Spaces don't seem to count as a single font space, but less. Example below...

  7. TAB size doesn't seem to work properly in some cases. I use a filetype .mnx to create README files for software I use, with things like how to extract and install portable software, how to update, the author URL and information, etc.. But the tab size is always 8 when I open those files, even tho in the ribbon indicates a size of 4.. This is fixed by setting the size to 3 and then back to 4, but this has to be done every time a file is open.

Font: Consolas | Tab size: 4
2024-06-08 08 56 07

Font: Consolas | Tab size: 4 (after setting the size to 3 and then back to 4)
2024-06-08 08 56 26

Font: Consolas NF3 (This is the same "Consolas" font patched with Nerd Fonts Patcher)
2024-06-08 08 56 44

Font: Consolas NF3 (This is how it looks in EditPlus)
2024-06-08 08 57 08

Font: Consolas NF3 (This is how it looks in Visual Studio Code)
2024-06-08 09 02 20

Best regards!

@stefankueng
Copy link
Owner

I hope you don't mind, but I've created separate issues from the many you mention in this one.

  1. Wordwrap setting is not persistent between sessions. If I set Wordwrap to OFF for any file (like a ,txt file), next time I open the file Wordpwrap is ON. Ideally the Wordwrap setting should be persistent for each filetype. Not sure if other settings are not persistent, but they should be, since there aren't actual settings besides what's on the ribbons.

created issue #381 for this

  1. I tried to customize some filetypes in the Style Configurator, but when I was with CSharp I noticed changes were not being saved at all. For example, I changed TYPE WORD to red color, the removed BOLD from INSTRUCTION WORD, and set OPERATOR to color BLACK. When I pressed OK all changes were lost.. And when I checked back I believe most changes I had done to other filetypes were also lost, but this would be hard to verify, since I did many quick changes I can't remember. This is definitely a huge issue.

not sure how to attack this problem. I tried to reproduce it but failed.
the style changes are stored in a file named 'userconfig', either in %appdata%\bowpad or where the exe is (for the portable version). Maybe you can see what's wrong in there?

  1. I also believe if there was a better way to add or modify lexers, other people (like me) perhaps could contribute.

full lexers are not easy to do:
https://github.com/ScintillaOrg/lexilla

usually it's enough to use an existing lexer (for example the c++ lexer is used for many other languages as well) and just provide custom keywords and colors:
https://tools.stefankueng.com/BowPad_lexerconfig.html

  1. No AutoHotkey lexer :( ... And no way of adding a custom lexer.

created issue #382 for this

  1. I believe the horizontal scrollbar should be hidden if there's no horizontal text overflow.
    This is a minor issue, but still worth mentioning.

created issue #383 for this

  1. Some monospaced fonts seem to have an issue with spaces (and it seems line height too). Spaces don't seem to count as a single font space, but less. Example below...
  2. TAB size doesn't seem to work properly in some cases. I use a filetype .mnx to create README files for software I use, with things like how to extract and install portable software, how to update, the author URL and information, etc.. But the tab size is always 8 when I open those files, even tho in the ribbon indicates a size of 4.. This is fixed by setting the size to 3 and then back to 4, but this has to be done every time a file is open.

created issue #384 for this

@mdnava
Copy link
Author

mdnava commented Jun 29, 2024

@stefankueng thank you for answering..

I took note of the different opened issues.

Right now I'm out of town, but once I'm back home I will check/try again
the Style Configurator and comment the results.

Best regards!

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

No branches or pull requests

2 participants