nimble0 / dotterel

Dotterel is a free, open source program that provides the ability to use stenographic input on the Android platform.
GNU General Public License v2.0
85 stars 6 forks source link

Undo bug when undoing newlines #23

Closed Codebreakerblue closed 2 years ago

Codebreakerblue commented 2 years ago

Pressing key to undo after pressing R-R, RR, or SKW-BGS deletes all newlines, punctuation, and the previous word. Changing dictionary definition for R-R to "{^\n^}" functions as normal but has no effect on the undo bug.

Codebreakerblue commented 2 years ago

Workaround: deleting the newline using the PW-FP backspace stroke appears to work as expected.

nimble0 commented 2 years ago

This is not unexpected behaviour for #Return translations.

I am unable to reproduce this with {^\n^}. Could you provide:

Codebreakerblue commented 2 years ago

I must have been doing something wrong in the json file. It's now mysteriously fixed. I guess I escaped the backslash unnecessarily? Here's the info in case it's useful. Dotterel version 0.4.0, Samsung memo app V1.2.9018997 Json file definition that started working: "R-R": "{^\n^}" Sorry for the trouble.