Hi! I am a 3B CS student. I get bored easily!!!
- CO 487 Applied Cryptography
- CS 456 Computer Networks
- CS 458 Security and Privacy
| case 'u': | |
| { | |
| for (int i = 0; i < n; i++) { | |
| if (!_app.commandStack().empty() && _app.commandStack().top()->canUndo()) { | |
| _app.commandStack().top()->undo(); | |
| _app.commandStack().pop(); | |
| } | |
| } | |
| if (_app.commandStack().empty()) { | |
| _app.textView().buffer().setUnsavedChanges(false); |
I hereby claim:
To claim this, I am signing this object:
| Verifying my Blockstack ID is secured with the address 1GcD6y28FsUJK5XkXvL7Pd1TnSQ5cPK4X5 https://explorer.blockstack.org/address/1GcD6y28FsUJK5XkXvL7Pd1TnSQ5cPK4X5 |
| class Buffer { | |
| public: | |
| explicit Buffer(int maxLines); | |
| std::string readFile(const std::string& fileName); | |
| void replaceChar (char c, int x, int y); | |
| void insertChar (char c, int x, int y); | |
| void insertString (const std::string& str, int x, int y); | |
| void insertNewLine(int x, int y); | |
| void deleteChar (int x, int y); |
| if (!_app.commandStack().empty() && _app.commandStack().top()->canUndo()) { | |
| _app.commandStack().top()->undo(); | |
| _app.commandStack().pop(); | |
| } |
| // Includes here | |
| class Controller { | |
| public: | |
| explicit Controller(Application& app); | |
| void listenForInputs(); | |
| private: | |
| void listenInsertMode(); |
| // Includes | |
| namespace vm { | |
| class View { | |
| public: | |
| View(int height, int width, int startX, int startY); | |
| ~View(); | |
| void printBufferContent(); | |
| void setHighlighter(std::unique_ptr<Highlighter> highlighter); |
| // Includes | |
| namespace vm { | |
| enum MODE { | |
| COMMAND, | |
| INSERT, | |
| REPLACE | |
| }; | |
| class Application { |
| Verifying my Blockstack ID is secured with the address 1FZPsTSx1N4CxLLk6vPKF8p4VumMyk4E2D https://explorer.blockstack.org/address/1FZPsTSx1N4CxLLk6vPKF8p4VumMyk4E2D |