mirror of
https://github.com/MeowLynxSea/ceditor.git
synced 2025-07-09 10:54:37 +00:00
修复了MyVector的迭代器自加操作
This commit is contained in:
parent
0a4ab3c433
commit
f91f33ab12
@ -5,6 +5,7 @@
|
||||
#include "TextArea.h"
|
||||
#include "Cursor.h"
|
||||
#include "../utils/SyntaxHighlighter.h"
|
||||
#include "../utils/ActionManager.h"
|
||||
#include "../utils/RichText.h"
|
||||
#include <string>
|
||||
|
||||
@ -16,6 +17,7 @@ private:
|
||||
RichText coloredContent_;
|
||||
std::string ruleName_;
|
||||
MyVector<std::string> lineedContent_;
|
||||
ActionManager actionmanager_;
|
||||
|
||||
MyVector<std::string> split(std::string content) {
|
||||
MyVector<std::string> lineedContent;
|
||||
|
@ -220,15 +220,6 @@ public:
|
||||
ptr -= n;
|
||||
return *this;
|
||||
}
|
||||
|
||||
friend iterator operator++(iterator& ite) {
|
||||
++ite.ptr;
|
||||
return ite;
|
||||
}
|
||||
friend iterator operator--(iterator& ite) {
|
||||
--ite.ptr;
|
||||
return ite;
|
||||
}
|
||||
};
|
||||
|
||||
iterator begin() {
|
||||
|
Loading…
Reference in New Issue
Block a user