Rev 3014 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3014 | Rev 8589 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | diff16 'tp-common.asm',0,$ |
1 | diff16 'tp-common.asm',0,$ |
2 | - | ||
- | 2 | include '../../../debug.inc' |
|
3 | ;----------------------------------------------------------------------------- |
3 | ;----------------------------------------------------------------------------- |
4 | proc clear_selection ;//////////////////////////////////////////////////////// |
4 | proc clear_selection ;//////////////////////////////////////////////////////// |
5 | ;----------------------------------------------------------------------------- |
5 | ;----------------------------------------------------------------------------- |
6 | push eax ebx |
6 | push eax ebx |
7 | mov eax,[cur_editor.SelStart.Y] |
7 | mov eax,[cur_editor.SelStart.Y] |
Line 69... | Line 69... | ||
69 | 69 | ||
70 | ;----------------------------------------------------------------------------- |
70 | ;----------------------------------------------------------------------------- |
71 | proc get_real_length ;//////////////////////////////////////////////////////// |
71 | proc get_real_length ;//////////////////////////////////////////////////////// |
72 | ;----------------------------------------------------------------------------- |
72 | ;----------------------------------------------------------------------------- |
- | 73 | mov eax,[esi+EDITOR_LINE_DATA.Size] |
|
- | 74 | debug_print_dec eax |
|
73 | mov eax,[esi+EDITOR_LINE_DATA.Size] |
75 | debug_print "|" |
74 | @@: cmp byte[esi+eax+sizeof.EDITOR_LINE_DATA-1],' ' |
76 | @@: cmp byte[esi+eax+sizeof.EDITOR_LINE_DATA-1],' ' |
75 | jne @f |
77 | jne @f |
76 | dec eax |
78 | dec eax |
77 | jnz @b |
79 | jnz @b |