BaseTextEditor: Style fixes

Whitespace, s/e/m_editorWidget/, remove unneeded struct, remove 'inline'
when not needed...

Change-Id: I1ce76f5c4b1febe45c4a3b6404107fed7d9c6868
Reviewed-by: David Schulz <david.schulz@digia.com>
CDB: Fix compiler warning about unsigned/signed comparison

Change-Id: I7b842db01dcbd8faf3dc16dfb287dd5117342e1e
Reviewed-by: David Schulz <david.schulz@digia.com>