1,6 → 1,6 |
; ¬ ªà®á ¤«ï á¨á⥬®© ¡¨¡«¨®â¥ª¨ box_lib.obj |
; í«¥¬¥â TextEditor ¤«ï Kolibri OS |
; ä ©« ¯®á«¥¤¨© à § ¨§¬¥ï«áï 18.11.2013 IgorA |
; ä ©« ¯®á«¥¤¨© à § ¨§¬¥ï«áï 27.11.2013 IgorA |
; ª®¤ ¯à¨¬¥¥ GPL2 «¨æ¥§¨ï |
|
;input: |
1264,7 → 1264,39 |
call ted_text_colored |
ret |
|
;description: |
; äãªæ¨ï ¤«ï á¬¥ë ª®¤¨à®¢®ª |
;input: |
; table - â ¡«¨æ ¤«ï ¯¥à¥ª®¤¨à®¢ª¨ |
align 4 |
proc ted_but_convert_by_table uses eax edx edi esi, edit:dword, table:dword |
mov edi,dword[edit] |
mov esi,dword[table] |
mov edx,ted_tex |
.cycle: |
;¯¥à¥å®¤¨¬ á«¥¤ãî騩 ᨬ¢®« |
mov edx,dword[edx+6] |
cmp edx,1 |
jle .end_text |
imul edx,sizeof.symbol |
add edx,ted_tex |
|
movzx eax,byte[edx] |
add eax,esi |
mov al,byte[eax] |
cmp al,0 |
je @f |
mov byte[edx],al ;¬¥ï¥¬ ª®¤¨à®¢ªã ᨬ¢®« |
@@: |
jmp .cycle |
.end_text: |
;cmp esi,0 |
;je @f |
stdcall ted_draw,edi ;®¡®¢«ï¥¬ ®ª® |
;@@: |
ret |
endp |
|
;input: |
; edi = pointer to tedit struct |
;output: |
4038,7 → 4070,7 |
ret |
|
align 4 |
proc ted_but_save_file, edit:dword, file:dword, f_name:dword |
proc ted_save_file, edit:dword, file:dword, f_name:dword |
pushad |
mov edi,dword[edit] |
|