Rev 4665 | Rev 5838 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4665 | Rev 5579 | ||
---|---|---|---|
Line 195... | Line 195... | ||
195 | pop eax |
195 | pop eax |
196 | cdq |
196 | cdq |
197 | mov ecx,6 |
197 | mov ecx,6 |
198 | idiv ecx |
198 | idiv ecx |
199 | @@: add eax,[cur_editor.TopLeft.X] |
199 | @@: add eax,[cur_editor.TopLeft.X] |
200 | 200 | mov ecx, ebx |
|
- | 201 | call get_line_offset |
|
201 | cmp eax,[cur_editor.Columns.Count] |
202 | cmp eax,[esi] |
202 | jl @f |
203 | jl @f |
203 | mov eax,[cur_editor.Columns.Count] |
204 | mov eax,[esi] |
204 | @@: cmp ebx,[cur_editor.Lines.Count] |
205 | @@: cmp ebx,[cur_editor.Lines.Count] |
205 | jl @f |
206 | jl @f |
206 | mov ebx,[cur_editor.Lines.Count] |
207 | mov ebx,[cur_editor.Lines.Count] |
207 | dec ebx |
208 | dec ebx |
208 | @@: |
209 | @@: |