QCodeEdit comment text patch
This commit is contained in:
@@ -753,7 +753,7 @@ void QCodeEdit::toggleComment() {
|
||||
int line = tc.blockNumber();
|
||||
if (need_comment) {
|
||||
if (!comms[line]) {
|
||||
tc.insertText("//");
|
||||
tc.insertText(comment_text);
|
||||
se_ += comment_text.size();
|
||||
if (first) ss_ += comment_text.size();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user