Rev 824 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 824 | Rev 987 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | inc ecx |
14 | inc ecx |
15 | mov edx,[cl_3d_inset] |
15 | mov edx,[cl_3d_inset] |
16 | call draw_framerect |
16 | call draw_framerect |
Line 17... | Line 17... | ||
17 | 17 | ||
18 | mov [cur_editor.Gutter.Visible],0 |
18 | mov [cur_editor.Gutter.Visible],0 |
19 | test [options],OPTS_LINENUMS |
19 | test [line_nums],1 |
20 | jnz @f |
20 | jnz @f |
21 | xor eax,eax |
21 | xor eax,eax |
22 | jmp .lp1 |
22 | jmp .lp1 |
23 | @@: inc [cur_editor.Gutter.Visible] |
23 | @@: inc [cur_editor.Gutter.Visible] |
Line 572... | Line 572... | ||
572 | mov edx,[color_tbl.back.sel] |
572 | mov edx,[color_tbl.back.sel] |
573 | inc [in_sel] |
573 | inc [in_sel] |
574 | .lp6: |
574 | .lp6: |
575 | mcall 13 |
575 | mcall 13 |
Line 576... | Line -... | ||
576 | - | ||
577 | lodsd |
- | |
578 | 576 | ||
579 | pushad |
577 | pushad |
580 | mov edx,[color_tbl.back] |
578 | mov edx,[color_tbl.back] |
581 | test eax,0x00010000 |
579 | test [esi+EDITOR_LINE_DATA.Flags],EDITOR_LINE_FLAG_MOFIFIED |
582 | jz @f |
580 | jz @f |
583 | mov edx,[color_tbl.line.moded] |
581 | mov edx,[color_tbl.line.moded] |
584 | test eax,0x00020000 |
582 | test [esi+EDITOR_LINE_DATA.Flags],EDITOR_LINE_FLAG_SAVED |
585 | jz @f |
583 | jz @f |
586 | mov edx,[color_tbl.line.saved] |
584 | mov edx,[color_tbl.line.saved] |
Line 587... | Line 585... | ||
587 | @@: mov ebx,[left_ofs] |
585 | @@: mov ebx,[left_ofs] |
Line 591... | Line 589... | ||
591 | mov bx,LCHGW |
589 | mov bx,LCHGW |
592 | mcall 13 |
590 | mcall 13 |
593 | popad |
591 | popad |
Line 594... | Line 592... | ||
594 | 592 | ||
595 | xor ecx,ecx |
593 | xor ecx,ecx |
596 | and eax,0x0000FFFF |
594 | mov eax,[esi+EDITOR_LINE_DATA.Size] |
- | 595 | mov [cur_line_len],eax |
|
Line 597... | Line 596... | ||
597 | mov [cur_line_len],eax |
596 | add esi,sizeof.EDITOR_LINE_DATA |
598 | 597 | ||
599 | or eax,eax |
598 | or eax,eax |
600 | ja .next_block |
599 | ja .next_block |