File tree Expand file tree Collapse file tree 3 files changed +1
-12
lines changed
Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ INCLUDE=-I./include/
77TARGET := collaborative_text_editor collaborative_text_editor_test
88
99SOURCE := ./src/crdt/*.cpp ./src/editor/*.cpp ./src/exceptions/*.cpp ./src/networking/*.cpp ./src/version_vector/*.cpp src/ApplicationController.cpp
10- TEST_SOURCE := ./tst/*.cpp
10+ TEST_SOURCE := ./tst/*.cpp ./tst/mock_models/*.cpp
1111
1212all : $(TARGET )
1313
Original file line number Diff line number Diff line change @@ -111,9 +111,6 @@ class EditorContent {
111111
112112 void InsertTextAtPosition (std::string &text, int position);
113113
114- std::string GetStringContent ();
115- std::vector<int > &GetLinePositions ();
116-
117114};
118115
119116#endif // COLLABORATIVE_TEXT_EDITOR_SRC_EDITOR_EDITORCONTENT_HPP_
Original file line number Diff line number Diff line change @@ -41,14 +41,6 @@ void EditorContent::DeleteCharacterFromCursorPosition(int number_of_characters)
4141 callbacks->OnLocalDelete (deleted_position);
4242}
4343
44- std::string EditorContent::GetStringContent () {
45-
46- }
47-
48- std::vector<int > &EditorContent::GetLinePositions () {
49-
50- }
51-
5244void EditorContent::MoveCursorRight () {
5345 if (this ->cursor .GetLineNumber () >= this ->text_document .GetNumberOfTotalLines ()) {
5446 return ;
You can’t perform that action at this time.
0 commit comments