-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: partial incomplete text light after column editing cut or deletion #272
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lJxDabab The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
TAG Bot New tag: 6.0.16 |
6d790b9
to
1ea878e
Compare
only the last line to be text-lighted after column editing cut or deletion Log: only the last line to be text-lighted after column editing cut or deletion Bug: https://pms.uniontech.com/bug-view-241613.html
class DeleteTextUndoCommand : public QUndoCommand | ||
{ | ||
public: | ||
explicit DeleteTextUndoCommand(QTextCursor textcursor, QPlainTextEdit* edit, QUndoCommand *parent = nullptr); | ||
explicit DeleteTextUndoCommand(QList<QTextEdit::ExtraSelection> &selections, QPlainTextEdit* edit, QUndoCommand *parent = nullptr); | ||
explicit DeleteTextUndoCommand(QTextCursor textcursor, TextEdit *tEdit, QUndoCommand *parent = nullptr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
重复的构造函数可以移除,TextEdit也继承自QPlainTextEdit
TAG Bot New tag: 6.0.17 |
only the last line to be text-lighted after
column editing cut or deletion
Log: only the last line to be text-lighted after
column editing cut or deletion
Bug: https://pms.uniontech.com/bug-view-241613.html