Rev 7924 | Rev 7960 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7924 | Rev 7935 | ||
---|---|---|---|
Line 49... | Line 49... | ||
49 | dword ydraw, absolute_y; |
49 | dword ydraw, absolute_y; |
50 | dword line_bg; |
50 | dword line_bg; |
51 | bool swapped_selection = false; |
51 | bool swapped_selection = false; |
52 | 52 | ||
Line 53... | Line 53... | ||
53 | list.column_max = lines.get(list.cur_y+1) - lines.get(list.cur_y); |
53 | list.column_max = lines.len(list.cur_y); |
54 | list.CheckDoesValuesOkey(); |
54 | list.CheckDoesValuesOkey(); |
55 | if (selection.end_offset < selection.start_offset) { |
55 | if (selection.end_offset < selection.start_offset) { |
56 | swapped_selection = selection.swap_start_end(); |
56 | swapped_selection = selection.swap_start_end(); |
57 | } |
57 | } |
Line 67... | Line 67... | ||
67 | 67 | ||
Line 68... | Line 68... | ||
68 | selection.draw(absolute_y); |
68 | selection.draw(absolute_y); |
Line 69... | Line 69... | ||
69 | 69 | ||
70 | if (absolute_y |
70 | if (absolute_y |
71 | lines.get(absolute_y), lines.get(absolute_y+1) - lines.get(absolute_y)); |
71 | lines.get(absolute_y), lines.len(absolute_y)); |
Line 72... | Line 72... | ||
72 | } |
72 | } |
Line 73... | Line 73... | ||
73 | 73 |