Lines Matching +defs:line +defs:end +defs:position
193 // Return a status bar rectangle which is the last line of this rectangle.
207 // Return a menubar rectangle which is the first line of this rectangle. This
349 // have a width, a height, a cursor position, and a multitude of drawing
485 // how we get source lines from the Highligher class. Read the line and
702 Windows::iterator pos, end = m_subwindows.end();
704 for (pos = m_subwindows.begin(); pos != end; ++pos, ++i) {
731 Windows::iterator pos, end = m_subwindows.end();
733 for (pos = m_subwindows.begin(); pos != end; ++pos, ++i) {
744 pos != m_subwindows.end(); pos = m_subwindows.erase(pos)) {
990 // scrolling area. The region is defined by the index of the start and end lines
991 // of the region. The start and end lines may be equal, in which case, the
992 // region is a single line.
995 int end;
997 ScrollContext(int line) : start(line), end(line) {}
998 ScrollContext(int _start, int _end) : start(_start), end(_end) {}
1002 end += offset;
1086 // Text fields are drawn as titled boxes of a single line, with a possible
1087 // error messages at the end.
1094 // The text field has a height of 3 lines. 2 lines for borders and 1 line for
1099 // field and an optional line for an error if it exists.
1107 // Get the cursor X position in the surface coordinate.
1164 // Get the position of the last visible character.
1166 int position = m_first_visibile_char + width - 1;
1167 return std::min(position, GetContentLength());
1201 // Insert a character at the current cursor position and advance the cursor
1202 // position.
1209 // Remove the character before the cursor position, retreat the cursor
1210 // position, and scroll left.
1221 // Remove the character after the cursor position.
1230 // Clear characters from the current cursor position to the end.
1325 // The position of the top left corner character of the border.
1327 // The cursor position in the content string itself. Can be in the range
1462 // Boolean fields are have a single line.
1721 // corresponding field. Finally, the last line contains a New button to add a
1731 // List fields have two lines for border characters, 1 line for the New
1740 // A line for the New button.
1767 if (context.end == height - 3)
1768 context.end += 2;
1783 int line = 0;
1787 Rect bounds = Rect(Point(0, line), Size(width, height));
1803 line += height;
2485 // line.
2497 // One line for the error and another for the horizontal line.
2504 // Actions span a single line.
2554 // If the last visible line is bigger than the content, then it is invalid
2555 // and needs to be set to the last line in the content. This can happen when
2566 if (context.end > last_visible_line) {
2567 m_first_visible_line = context.end - visible_height + 1;
2586 int line = 0;
2595 Rect bounds = Rect(Point(0, line), Size(width, height));
2598 line += height;
2630 // the derived window starting at the first visible line. This essentially
2861 // The first visible line from the pad.
3439 target_environment.end());
3441 inherited_environment.end());
4672 m_children.erase(m_children.begin() + n, m_children.end());
5364 if (symbol_context.line_entry.line > 0) {
5585 // always on the same line
6032 return "delete-line";
6034 return "insert-line";
6090 return "end key";
6138 return "shifted delete-line key";
6142 return "shifted end key";
6144 return "shifted clear-to-end-of-line key";
6539 submenus.erase(submenus.begin() + 8, submenus.end());
6566 submenus.erase(submenus.begin() + 7, submenus.end());
6797 {KEY_RETURN, "Run to selected line with one shot breakpoint"},
6798 {KEY_UP, "Select previous source line"},
6799 {KEY_DOWN, "Select next source line"},
6804 {'b', "Set breakpoint on selected source/disassembly line"},
6808 {'n', "Step over (source line)"},
6811 {'s', "Step in (source line)"},
6890 m_pc_line = m_sc.line_entry.line;
6892 --m_pc_line; // Convert to zero based line number...
6893 // Update the selected line if the stop ID changed...
6911 // File changed, set selected line to the line with the PC
7006 bp_lines.insert(bp_loc_line_entry.line);
7020 // Highlight the line as the PC line first (done by passing
7022 // line isn't the same as the PC line, highlight it differently.
7028 if (bp_lines.find(curr_line + 1) != bp_lines.end())
7040 // Mark the line with the PC with a diamond
7056 StringRef line = lineStream.GetString();
7057 if (line.ends_with("\n"))
7058 line = line.drop_back();
7060 1, line, m_first_visible_column, is_pc_line);
7062 // Draw an empty space to show the selected/PC line if empty,
7066 1, line.empty() && m_first_visible_column == 0 ? " " : "<");
7164 // Highlight the line as the PC line first, then if the selected
7165 // line isn't the same as the PC line, highlight it differently
7174 bp_file_addrs.end())
7188 // Mark the line with the PC with a diamond
7329 // Set a breakpoint and run to the line using a one shot breakpoint
7338 1, // Source line number (m_selected_line is zero based)
7369 case 'b': // 'b' == toggle breakpoint on currently selected line
7484 m_selected_line + 1 == bp_loc_line_entry.line) {
7499 1, // Source line number (m_selected_line is zero based)
7557 uint32_t m_selected_line = 0; // The selected line
7558 uint32_t m_pc_line = 0; // The line with the PC