Skip to content

Commit

Permalink
Merge pull request #45 from psx95/makefile-update
Browse files Browse the repository at this point in the history
Update makefile to add new folder in test
  • Loading branch information
psx95 authored Dec 13, 2020
2 parents e4c3e15 + 5007849 commit 1de3d54
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ INCLUDE=-I./include/
TARGET := collaborative_text_editor collaborative_text_editor_test

SOURCE := ./src/crdt/*.cpp ./src/editor/*.cpp ./src/exceptions/*.cpp ./src/networking/*.cpp ./src/version_vector/*.cpp src/ApplicationController.cpp
TEST_SOURCE := ./tst/*.cpp
TEST_SOURCE := ./tst/*.cpp ./tst/mock_models/*.cpp

all: $(TARGET)

Expand Down
3 changes: 0 additions & 3 deletions include/EditorContent.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ class EditorContent {

void InsertTextAtPosition(std::string &text, int position);

std::string GetStringContent();
std::vector<int> &GetLinePositions();

};

#endif //COLLABORATIVE_TEXT_EDITOR_SRC_EDITOR_EDITORCONTENT_HPP_
8 changes: 0 additions & 8 deletions src/editor/EditorContent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,6 @@ void EditorContent::DeleteCharacterFromCursorPosition(int number_of_characters)
callbacks->OnLocalDelete(deleted_position);
}

std::string EditorContent::GetStringContent() {

}

std::vector<int> &EditorContent::GetLinePositions() {

}

void EditorContent::MoveCursorRight() {
if (this->cursor.GetLineNumber() >= this->text_document.GetNumberOfTotalLines()) {
return;
Expand Down

0 comments on commit 1de3d54

Please sign in to comment.