This action will force synchronization from 爬山虎/ndd, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
#pragma once#include "command.h"#include "rcglobal.h"class CompareWin;class ReplaceOperRecords {public:RC_DIRECTION dir;int startPos; //开始位置int srcEndPos;//原始结束位置char* srcContents; //原始文字内容int replaceLens;//替换长度char* replaceContents;//替换内容ReplaceOperRecords() :startPos(0), srcEndPos(0), srcContents(nullptr), replaceLens(0), replaceContents(nullptr){}~ReplaceOperRecords(){if (srcContents != nullptr){delete[]srcContents;srcContents = nullptr;}if (replaceContents != nullptr){delete[]replaceContents;replaceContents = nullptr;}}ReplaceOperRecords(const ReplaceOperRecords& other) = delete;};class ReplaceCommand :public Command{public:ReplaceCommand(CompareWin* operWin);virtual ~ReplaceCommand();virtual int getOperIndex()override;virtual void undo()override;virtual QString desc()override;void setDesc(QString v);void addRecord(ReplaceOperRecords* v);void setOperIndex(int v);private:QList<ReplaceOperRecords*> m_record;CompareWin* m_operWin;int m_index;QString m_desc;ReplaceCommand(const ReplaceCommand& o) = delete;ReplaceCommand& operator=(const ReplaceCommand& o) = delete;};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。