't_edit' add new window 'search in keywords'

git-svn-id: svn://kolibrios.org@3244 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
IgorA
2013-02-14 21:09:13 +00:00
parent 082fd6ba1d
commit 0da906311f
5 changed files with 259 additions and 44 deletions

View File

@@ -33,6 +33,7 @@ include 't_data.inc'
include 'strlen.inc'
include 't_draw.inc' ;draw main window functions
include 't_button.inc' ;text work functions
include 'wnd_k_words.inc'
@use_library_mem mem.Alloc,mem.Free,mem.ReAlloc,dll.Load
@@ -93,7 +94,7 @@ start:
jz button.exit
mcall 66,1,1 ;scan code
mcall 40,0x27
mcall 40,0xC0000027
mov esi,file_name
call strlen
@@ -182,6 +183,7 @@ mov ecx,ebx
mov [wScr.type],eax
mov [hScr.type],eax
mov [ws_dir_lbox.type],eax
mov [w_scr_t3.type],eax
;symbol size
stdcall dword[ini_get_int],file_name,ini_sec_window,key_symbol_w,ini_def_symbol_w
mov dword[tedit0.rec.width],eax
@@ -239,9 +241,6 @@ still:
jz button
cmp al,6 ;<3B><><EFBFBD><EFBFBD>
jne @f
mcall 9,procinfo,-1
cmp ax,word[procinfo+4]
jne @f ;<3B><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><E2A8A2>
jmp mouse
@@:
jmp still
@@ -576,12 +575,13 @@ i_end:
buf rb BUF_SIZE ;<3B><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><E0AEA2><EFBFBD><EFBFBD> <20> <20><><EFBFBD><E2A0A2>
buf_find rb 302 ;<3B><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD>᪠ ⥪<><E2A5AA><EFBFBD>
IncludeUGlobals
rb 1024
align 16
procinfo process_information
rb 1024
thread:
rb 1024
thread_coords:
rb 1024
stacktop:
sys_path:
rb 4096