various fixes in tinypad

git-svn-id: svn://kolibrios.org@5579 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Pathoswithin
2015-07-17 18:34:50 +00:00
parent 8ac94ee0c0
commit f080d95989
3 changed files with 227 additions and 388 deletions

View File

@@ -197,10 +197,11 @@ mouse:
mov ecx,6
idiv ecx
@@: add eax,[cur_editor.TopLeft.X]
cmp eax,[cur_editor.Columns.Count]
mov ecx, ebx
call get_line_offset
cmp eax,[esi]
jl @f
mov eax,[cur_editor.Columns.Count]
mov eax,[esi]
@@: cmp ebx,[cur_editor.Lines.Count]
jl @f
mov ebx,[cur_editor.Lines.Count]