SendBox: insert 4 space on tab instead of huge \t
This commit is contained in:
parent
ab2a73dbfc
commit
5a1d974702
|
@ -122,6 +122,10 @@ HRectangle {
|
||||||
})
|
})
|
||||||
|
|
||||||
area.Keys.onEnterPressed.connect(area.Keys.onReturnPressed)
|
area.Keys.onEnterPressed.connect(area.Keys.onReturnPressed)
|
||||||
|
|
||||||
|
area.Keys.onTabPressed.connect(event => {
|
||||||
|
textArea.insert(textArea.cursorPosition, " ")
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user