File tree 3 files changed +1
-12
lines changed
3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ INCLUDE=-I./include/
7
7
TARGET := collaborative_text_editor collaborative_text_editor_test
8
8
9
9
SOURCE := ./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
11
11
12
12
all : $(TARGET )
13
13
Original file line number Diff line number Diff line change @@ -111,9 +111,6 @@ class EditorContent {
111
111
112
112
void InsertTextAtPosition (std::string &text, int position);
113
113
114
- std::string GetStringContent ();
115
- std::vector<int > &GetLinePositions ();
116
-
117
114
};
118
115
119
116
#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)
41
41
callbacks->OnLocalDelete (deleted_position);
42
42
}
43
43
44
- std::string EditorContent::GetStringContent () {
45
-
46
- }
47
-
48
- std::vector<int > &EditorContent::GetLinePositions () {
49
-
50
- }
51
-
52
44
void EditorContent::MoveCursorRight () {
53
45
if (this ->cursor .GetLineNumber () >= this ->text_document .GetNumberOfTotalLines ()) {
54
46
return ;
You can’t perform that action at this time.
0 commit comments