plover icon indicating copy to clipboard operation
plover copied to clipboard

Let user remove stroke suggestions for words they already know

Open SeaLiteral opened this issue 5 years ago • 6 comments

Summary

When you've used a word a lot of times, you probably know its outline, and then you might want to not have that word taking up space in the strokes suggestions window. By letting the user have a list of already learnt words, you can keep it faster for the user to find those phrases that contain them, rather than having to scroll up if the window isn't very tall.

Reproducing

  • Enable the strokes suggestion window, maybe make it a bit smaller than the default size.
  • Write "as much as".

The suggestion window will show a bunch of suggestions, the first ones will probably only be visible by scrolling.

What I suggest is to let the user have a file with words or phrases they don't want suggestions for, then don't show suggestions for those. That or a configuration option, the latter would probably be better, and of course, it should be system specific so that people who write in multiple languages can have a different list for each language.

I will probably try to implement this myself.

SeaLiteral avatar Aug 10 '18 12:08 SeaLiteral

Is there a way to toggle the suggestions? I'm often restarting it as it stops scrolling when I go back to check on a word. Other times I need the extra screen for short periods of time.

RandTrawick avatar Aug 24 '18 04:08 RandTrawick

Do you scroll back down when you have scrolled up? If you do that it should get back to autoscrolling down. But you need to scroll the whole way down for that to work. If it doesn't, then that would be a bug.

SeaLiteral avatar Aug 24 '18 19:08 SeaLiteral

Thanks a bunch! That helped.
I didn't realize, I had to scroll all the way back down to get it to start scrolling with new input.
Any idea how to set the suggestions window to toggle open and closed as a brief?
I Googled it, and I haven't been able to find anything which indicates how to do this.
I have already tried: {PLOVER:SUGGESTIONS} to no avail.

RandTrawick avatar Aug 25 '18 17:08 RandTrawick

Under the Tools menu it says "Ctrl-J" is a shortcut for Suggestions, but hitting that gives me an error QAction::eventFilter: Ambiguous shortcut overload: Ctrl+J in the console. May be a bug. If that shortcut worked, it might be possible to make a brief for it that way.

fourshade avatar Sep 01 '18 23:09 fourshade

#1010 seems to be about that. But I'm not sure that would work when Plover's main window isn't focused. Requesting a {PLOVER:SUGGESTIONS} command be might be the way to go. I'm not sure if thank be done in a plugin or if it's one of those things that have to be done in plover itself.

SeaLiteral avatar Sep 20 '18 17:09 SeaLiteral

Note: {plover:suggestions} is added in https://github.com/openstenoproject/plover/pull/1184 .

user202729 avatar Apr 23 '21 16:04 user202729