Yet-Zio / yetCalc

Yet another calculator designed and developed for Android
BSD 3-Clause "New" or "Revised" License
203 stars 17 forks source link

programmers can't paste #55

Open off-by-zero-error opened 1 year ago

off-by-zero-error commented 1 year ago

hi, i am encountering one simple difficulty with this. when using the programmer mode, there seems to be no interaction to paste a value from the clipboard contents.

in calculater mode there is clearly a flashing bar | to indicate input. long pressing that area brings the system overlay offering "paste" and an overflow elipsis to reveal "auto-fill" which i guess is redundant for a calculater but who knows. also a backspace ⌫ button is present and functional.

back in programmer mode there is no indication of input, there is no response for long press anywhere. also there is no backspace. this state persists in landscape orientation.

programmers always write values and inputs by hand, and wouldn't make mistakes while doing so, but as a borky scripter i would love to use this tool too. in any case, thankyou for your time and effort.

Yet-Zio commented 1 year ago

Hi @off-by-zero-error , yes I understand the issue here since TextView was used initially for programmer mode whereas EditText is used in calculator mode and that indicates an input, provides all the options. Although I do want to include a context menu for pasting and all that. Hmm, maybe I will switch the textview in the next update who knows :).

And yea backspace button should be a great addition as well, since I already got a custom widget ready, that wouldn't be hard. Anyway, thanks for your suggestion.