How Tab and Shift+Tab keys should be performed on TextView?
See original GitHub issue- In my opinion
Tab
should insert thechar 9
and theShift+Tab
should retreat thechar 9
to the previous column, because on a multiline editor is normal to press the tab key to insert spaces and and Shift+Tab to remove spaces. So, if it goes to the next view, forces us to go to theTextView
again causing stressing. - Another solution is replacing the tabs to spaces, but if the original text has tabs it should be maintained. Perhaps an option to convert to spaces or vice-versa.
- For navigation
Ctrl+Tab
should go to the next view andCtrl+Shift+Tab
should go to the previous view. - Please, give your opinions to makes this definitively clear. Thanks in advance.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top Results From Across the Web
EditText not receiving TAB key events - stock soft vk
My app has a ListView and an EditText sitting below it. For some reason, the TAB key doesn't trigger the onKeyListener . All...
Read more >Pressing the tab key to switch from one text field to another
I'm working on a new desktop application now. It's almost done. And pressing the tab key won't let me switch from one text...
Read more >Tab Key working in the Rich Text View - Features
I really use a lot of the tab key (and shift+tab) to organize my notes. It seems to not be working in the...
Read more >TextView | Android Developers
Quickly bring your app to life with less code, using a modern declarative approach to UI, and the simplicity of Kotlin. ... Start...
Read more >Enable tab and shift + tab for code formatting
Pressing and releasing Ctrl will grey out the text editor until the next keystroke to clarify this.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think this is a good plan.
In WinForms there is a boolean property for this
AcceptsTab
and alsoAcceptsReturn
(both default to false). Not sure if that helps just thought I’d add another perspective.https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.textboxbase.acceptstab?view=net-5.0
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.textbox.acceptsreturn?view=net-5.0