Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lJxDabab
Copy link
Contributor

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

@deepin-ci-robot
Copy link

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Feb 1, 2024

TAG Bot

New tag: 6.0.16
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #273

@lJxDabab lJxDabab force-pushed the master branch 2 times, most recently from 6d790b9 to 1ea878e Compare February 2, 2024 02:22
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);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

重复的构造函数可以移除,TextEdit也继承自QPlainTextEdit

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Mar 27, 2024

TAG Bot

New tag: 6.0.17
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #275

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants