MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / UpdateLineLimits

Method UpdateLineLimits

Goldleaf/source/ui/ui_FileContentLayout.cpp:108–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 void FileContentLayout::UpdateLineLimits() {
109 this->cur_read_lines_max_length = 0;
110 for(const auto &line: this->read_lines) {
111 this->cur_read_lines_max_length = std::max(this->cur_read_lines_max_length, line.length());
112 }
113 }
114
115 void FileContentLayout::UpdateLines() {
116 std::string new_cnt;

Callers 3

ScrollUpMethod · 0.95
ScrollDownMethod · 0.95
LoadFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected