Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
f759fd6b
Commit
f759fd6b
authored
Jun 02, 2010
by
hjk
Browse files
basetexteditor: make a few functions public for use in fakevim
parent
36c79d44
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/texteditor/basetexteditor.h
View file @
f759fd6b
...
...
@@ -393,7 +393,6 @@ public:
void
indentInsertedText
(
const
QTextCursor
&
tc
);
protected:
// Returns the text to complete at the cursor position, or an empty string
virtual
QString
autoComplete
(
QTextCursor
&
cursor
,
const
QString
&
text
)
const
;
// Handles backspace. When returning true, backspace processing is stopped
...
...
@@ -417,6 +416,7 @@ protected:
// Returns the text that needs to be inserted
virtual
QString
insertParagraphSeparator
(
const
QTextCursor
&
tc
)
const
;
protected:
static
void
countBracket
(
QChar
open
,
QChar
close
,
QChar
c
,
int
*
errors
,
int
*
stillopen
);
static
void
countBrackets
(
QTextCursor
cursor
,
int
from
,
int
end
,
QChar
open
,
QChar
close
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment