Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Minor change in asmedit.asm |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
5f458c42ba810ede1d2aadb56a5a5a62 |
User & Date: | johnfound 2018-06-11 15:54:08.459 |
Context
2018-06-11
| ||
16:34 | Removed strange double call in OnSaveAll procedure. It is some very old bug, or at least strange workaround. Although it should be safe, but some crashes on Windows 10 was reported possibly related to this code: [6c4755c282]. check-in: a31be3f658 user: johnfound tags: trunk | |
15:54 | Minor change in asmedit.asm check-in: 5f458c42ba user: johnfound tags: trunk | |
2018-02-06
| ||
13:44 | Fixed bug in AsmEdit component. The bug damaged the colors on screen sizes higher than the maximal line size (aeLineCharLen). check-in: cbb223a6c7 user: johnfound tags: trunk | |
Changes
Changes to include/libs/asmedit/asmedit.asm.
︙ | ︙ | |||
3549 3550 3551 3552 3553 3554 3555 | add edx, -1 adc eax, 0 mov [.screen_height],eax .setup_vscroll: mov ecx,[.lines_count] mov [.sc.cbSize],sizeof.SCROLLINFO | | | 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 | add edx, -1 adc eax, 0 mov [.screen_height],eax .setup_vscroll: mov ecx,[.lines_count] mov [.sc.cbSize],sizeof.SCROLLINFO mov [.sc.fMask], SIF_DISABLENOSCROLL+SIF_RANGE+SIF_PAGE+SIF_POS mov [.sc.nMin],1 mov [.sc.nMax],ecx mov eax,[.rect.bottom] sub eax,[.rect.top] xor edx,edx div [.font_height] mov [.page_size],eax |
︙ | ︙ | |||
3587 3588 3589 3590 3591 3592 3593 | test [.editor_style], WS_VSCROLL jz .setup_hscroll lea eax, [.sc] invoke SetScrollInfo,[.hwnd],SB_VERT,eax,TRUE .setup_hscroll: | > | | | 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 | test [.editor_style], WS_VSCROLL jz .setup_hscroll lea eax, [.sc] invoke SetScrollInfo,[.hwnd],SB_VERT,eax,TRUE .setup_hscroll: mov [.sc.fMask], SIF_RANGE + SIF_PAGE + SIF_POS mov [.sc.nMin], 0 mov [.sc.nMax], aeLineCharLen mov eax,[.rect.right] sub eax,[.rect.left] xor edx,edx div [.font_width] mov [.sc.nPage],eax mov edx,[.window_position] mov [.sc.nPos],edx or edx,edx jz .hscroll_ok add edx,eax cmp edx,101h ???? What are these constants for? jbe .hscroll_ok sub edx,101h sub [.window_position],edx jnc .setup_hscroll mov [.window_position],0 jmp .setup_hscroll |
︙ | ︙ |