forked from KolibriOS/kolibrios
fix copy key words to buffer
git-svn-id: svn://kolibrios.org@5831 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0d221ca624
commit
aa41bd5e39
@ -245,7 +245,7 @@ proc draw_panel_syntax
|
|||||||
mov edx,txtFormatCapt
|
mov edx,txtFormatCapt
|
||||||
int 0x40
|
int 0x40
|
||||||
|
|
||||||
mov ebx,10*65536+25
|
mov ebx,10*65536+31
|
||||||
add ebx,dword[tree1.box_height]
|
add ebx,dword[tree1.box_height]
|
||||||
add ebx,ted_wnd_t
|
add ebx,ted_wnd_t
|
||||||
mov edx,txtFormatApply
|
mov edx,txtFormatApply
|
||||||
|
@ -50,7 +50,7 @@ pushad
|
|||||||
shl ebx,16
|
shl ebx,16
|
||||||
mov bx,prop_wnd_width
|
mov bx,prop_wnd_width
|
||||||
mov cx,word[procinfo.box.top]
|
mov cx,word[procinfo.box.top]
|
||||||
add cx,5 ;word[buf_0.t]
|
add cx,42 ;word[buf_0.t]
|
||||||
shl ecx,16
|
shl ecx,16
|
||||||
mov cx,250
|
mov cx,250
|
||||||
mov edx,0xffffd0
|
mov edx,0xffffd0
|
||||||
@ -167,13 +167,18 @@ prop_button:
|
|||||||
;ª®¯¨à®¢ âì ¢ ¡ãä¥à
|
;ª®¯¨à®¢ âì ¢ ¡ãä¥à
|
||||||
stdcall [tl_node_get_data],tree3
|
stdcall [tl_node_get_data],tree3
|
||||||
pop esi
|
pop esi
|
||||||
cmp esi,0
|
or esi,esi
|
||||||
je .no_select_0
|
jz .no_select_0
|
||||||
mov edi,[tedit0.buffer]
|
mov edi,[tedit0.buffer]
|
||||||
|
mov dword[edi],MAX_COLOR_WORD_LEN
|
||||||
|
mov dword[edi+4],0 ;text data
|
||||||
|
mov dword[edi+8],1 ;code 866
|
||||||
|
add edi,12 ;system buffer header size
|
||||||
mov byte[edi+MAX_COLOR_WORD_LEN],0
|
mov byte[edi+MAX_COLOR_WORD_LEN],0
|
||||||
mov ecx,MAX_COLOR_WORD_LEN
|
mov ecx,MAX_COLOR_WORD_LEN
|
||||||
cld
|
cld
|
||||||
rep movsb
|
rep movsb
|
||||||
|
mcall 54,2,12+MAX_COLOR_WORD_LEN,[tedit0.buffer]
|
||||||
.no_select_0:
|
.no_select_0:
|
||||||
@@:
|
@@:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user