Allow the user to configure the auto-capitalization and auto-correction for chat messages.#329
Allow the user to configure the auto-capitalization and auto-correction for chat messages.#329mauritsd wants to merge 4 commits intoubergeek42:masterfrom
Conversation
…input field configurable.
…uired to show multi line pastes properly. Some keyboards (SwiftKey) refuse to disable auto-capitalization if the multi line flag is also set, but this should be considered a bug in those keyboards.
…not sending the multi line flag to the IME.
| <CheckBoxPreference android:key="volumebtn_size" android:title="@string/pref_volumebtn_size" android:summary="@string/pref_volumebtn_size_summary" android:defaultValue="true" /> | ||
| <CheckBoxPreference android:key="autocorrect_input" android:title="@string/pref_autocorrect_enable" android:defaultValue="true" /> | ||
| <CheckBoxPreference android:key="autocapitalize_input" android:title="@string/pref_autocapitalize_enable" android:defaultValue="true" /> | ||
| <CheckBoxPreference android:key="volumebtn_size" android:title="@string/pref_volumebtn_size" android:summary="@string/pref_volumebtn_size_summary" android:defaultValue="true" /> |
There was a problem hiding this comment.
Minor whitespace issue there.
|
As noted on IRC, the auto-correction toggle seems to be less useful than the auto-capitalization one. I added it because someone requested it, but it might make more sense to leave this as a global setting for the keyboard rather than allowing users to specifically disable it for weechat-android. |
mauritsd
left a comment
There was a problem hiding this comment.
I've corrected the indentation, but the entire file contains mixed tabs and spaces for indentation. Should probably be corrected separately.
|
is this still relevant? |
3789f56 to
199d6cc
Compare
|
I would like to be able to disable auto-capitalization. Edit: This might just be tied to my keyboard app's settings, though? |
|
I don't think I have auto-capitalization and I'm just using Gboard, it has a setting for that |
Adds two preferences to allow the user to disable auto-correction and auto-capitalization on the chat message input EditText. To work around a SwiftKey bug/feature we set multi line mode (InputType.TYPE_TEXT_FLAG_MULTI_LINE) on the ActionEditText but don't actually send it on to the IME itself.