Remove Cursor and move line-tracking into Iterator

This commit is contained in:
josh committed 2016-12-18 14:51:52 -05:00
1 parent 39088f6518
commit 968db413e6
8 files changed
+212 -261

No files matched your search

+2
View File
@@ -30,6 +30,7 @@ TEST(BufferTest, writes_an_empty_file_for_an_empty_buffer)
TestSupport::compare_files("test/files/empty.txt", "test/tmp/f");
}
#if 0
TEST(BufferTest, allows_navigating_using_cursors)
{
Buffer b("test/files/line_endings/lf_format.txt");
@@ -69,3 +70,4 @@ TEST(BufferTest, allows_navigating_using_cursors)
EXPECT_EQ(1u, cursor->line());
ASSERT_EQ((uint32_t)'T', **cursor);
}
#endif