Skip to content

Conversation

@Gewerd-Strauss
Copy link

@Gewerd-Strauss Gewerd-Strauss commented Apr 19, 2021

Changes:

  1. Inserting String "&|" into a string that is pasted using fClip() will result in the cursor jumping back to that position. Not perfect yet, depending on window and/or computer speed.
  2. added subfun f_unstickkeys as the OG version had the tendency to make my modifier keys sticky. ymmv
  3. When fetching selected text into a variable using
    Var:=fClip()
    the clipboard is by default not overwritten. Use Var:=fClip(,,0) to overwrite the clipboard again. Parameter has no effect when pasting text fClip(Var)

forked own version:
Function no longer overwrites clipboard by default if used to retrieve marked selection via fn-call 
"out:=fClip()" ;; (this is equivalent to fClip(,,1)
OG function by berban tended to lock down shift/winkey/ctrl/alt (make them sticky), so I am explicitly unsticking them.
reverted back to using berban's version after spotting some annoying timing bugs that I couldn't care enough to hunt down. Changed his code instead. 
left own, slightly more error-prone version as a backup by changing the parameter "DefaultMethod"
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

Successfully merging this pull request may close these issues.

1 participant