chore(style): remove the trailing space from all source files (#3188)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-03-21 18:25:51 +08:00
committed by GitHub
parent 46bd054ad4
commit 4c4f954059
223 changed files with 1719 additions and 1719 deletions

View File

@@ -4,14 +4,14 @@ Simple Text area
.. lv_example:: widgets/textarea/lv_example_textarea_1
:language: c
Text area with password field
Text area with password field
"""""""""""""""""""""""""""""
.. lv_example:: widgets/textarea/lv_example_textarea_2
:language: c
Text auto-formatting
"""""""""""""""""""""""""""""

View File

@@ -23,7 +23,7 @@ btnm_map = ["1", "2", "3", "\n",
"4", "5", "6", "\n",
"7", "8", "9", "\n",
lv.SYMBOL.BACKSPACE, "0", lv.SYMBOL.NEW_LINE, ""]
btnm = lv.btnmatrix(lv.scr_act())
btnm.set_size(200, 150)
btnm.align(lv.ALIGN.BOTTOM_MID, 0, -10)

View File

@@ -14,7 +14,7 @@ def ta_event_cb(e):
rest = txt[colon_pos:]
if len(rest) > 3:
ta.del_char()
if len(txt) < 2:
return
if ":" in txt: