flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Crukko 07 Dec 2005, 10:36
I verified we need these other
_asmedit_class db 'ASMEDIT',0 asmedit_font dd 0 whell_scroll_lines dd 3 case_table rb 100h |
|||
![]() |
|
Crukko 07 Dec 2005, 11:03
Problem: when using AEM_GETLINE
I don't know why...with invoke SendMessage, [hAsmEditwin], AEM_GETLINE, dword 6, Buff if the source line .6 is 'test', in Buff I find 'est'. I verified: line 499 in 'BLOCKS.INC' lea esi,[esi+SEGMENT_HEADER_LENGTH+edx] edx is set '1'.... solution? what's wrong? |
|||
![]() |
|
Crukko 08 Dec 2005, 12:23
How to obtain the total line number of the source code loaded in AsmEdit?
|
|||
![]() |
|
decard 08 Dec 2005, 14:16
You can't do it directly (currently there's no such message). You have to:
1. Store current position (AEM_GETPOS). 2. go to last line (AEM_SETPOS with caretLine and caretSelectionLine set to -1). 3. Read current position (AEM_GETPOS again). Then read aepos.caretLine - it will contain last line number. 4. Restore previous position by calling AEM_SETPOS again with position obtained in 1). regards, decard |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.