Subversion Repositories Kolibri OS

Rev

Rev 8589 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8589 Rev 8590
Line 1... Line 1...
1
diff16 'tp-common.asm',0,$
1
diff16 'tp-common.asm',0,$
2
include '../../../debug.inc'
-
 
-
 
2
 
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
 
76
    @@: cmp	byte[esi+eax+sizeof.EDITOR_LINE_DATA-1],' '
75
    @@: cmp	byte[esi+eax+sizeof.EDITOR_LINE_DATA-1],' '
77
	jne	@f
76
	jne	@f
78
	dec	eax
77
	dec	eax
79
	jnz	@b
78
	jnz	@b