Subversion Repositories Kolibri OS

Rev

Rev 7577 | Rev 7583 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4308 IgorA 1
;Огромная благодарность всем, кто помогал: кодом/советом/дизайном ...
1338 IgorA 2
 
3
use32
6906 IgorA 4
  org 0
1449 IgorA 5
  db 'MENUET01' ;идентиф. исполняемого файла всегда 8 байт
6256 IgorA 6
  dd 1, start, i_end, mem, stacktop, file_name, sys_path
1338 IgorA 7
 
8
MAX_COLOR_WORD_LEN equ 40
6256 IgorA 9
maxChars equ 100002 ;(колличество символов в новом документе + 2)
2817 IgorA 10
BUF_SIZE equ 4096 ;buffer for copy|paste
1457 IgorA 11
maxSyntaxFileSize equ 410000
7573 IgorA 12
TOOLBAR_ICONS_SIZE equ 1200*21
1338 IgorA 13
 
1449 IgorA 14
include '../../proc32.inc'
1338 IgorA 15
include '../../macros.inc'
6086 IgorA 16
include '../../KOSfuncs.inc'
6239 IgorA 17
include '../../load_img.inc'
1449 IgorA 18
include '../../develop/libraries/box_lib/trunk/box_lib.mac'
6169 leency 19
include '../../system/skincfg/trunk/kglobals.inc'
20
include '../../system/skincfg/trunk/unpacker.inc'
1343 IgorA 21
include 'lang.inc'
1467 IgorA 22
 
1338 IgorA 23
include 't_data.inc'
7573 IgorA 24
include 't_button.inc'
5671 leency 25
include 't_menu.inc'
1338 IgorA 26
include 'strlen.inc'
27
include 't_draw.inc' ;draw main window functions
3244 IgorA 28
include 'wnd_k_words.inc'
1338 IgorA 29
 
2632 IgorA 30
@use_library_mem mem.Alloc,mem.Free,mem.ReAlloc,dll.Load
1338 IgorA 31
 
6256 IgorA 32
align 4
2632 IgorA 33
icon_tl_sys dd 0 ;указатель на память для хранения системных иконок
6256 IgorA 34
run_file_70 FileInfoBlock
2632 IgorA 35
 
1456 IgorA 36
align 4
1338 IgorA 37
start:
6162 leency 38
	mcall SF_STYLE_SETTINGS,SSF_GET_COLORS,sc,sizeof.system_colors
1338 IgorA 39
 
6086 IgorA 40
	mcall SF_SYS_MISC,SSF_HEAP_INIT
4308 IgorA 41
	or eax,eax
7575 IgorA 42
	jnz @f
43
		call ted_Exit
44
	@@:
1338 IgorA 45
 
6086 IgorA 46
	mcall SF_KEYBOARD,SSF_SET_INPUT_MODE,1 ;scan code
47
	mcall SF_SET_EVENTS_MASK,0xC0000027
1338 IgorA 48
 
4308 IgorA 49
	mov esi,file_name
7577 IgorA 50
	stdcall str_len,esi
4308 IgorA 51
	mov ecx,eax
52
	mov edi,openfile_path
53
	cld
54
	rep movsb ;копируем имя файла в буфер openfile_path
1338 IgorA 55
 
1456 IgorA 56
load_libraries l_libs_start,load_lib_end
1338 IgorA 57
 
2102 IgorA 58
;проверка на сколько удачно загузились библиотеки
4308 IgorA 59
mov	ebp,lib0
60
.test_lib_open:
1456 IgorA 61
	cmp	dword [ebp+ll_struc_size-4],0
62
	jz	@f
6086 IgorA 63
	mcall SF_TERMINATE_PROCESS ;exit not correct
1456 IgorA 64
@@:
4308 IgorA 65
	add ebp,ll_struc_size
66
	cmp ebp,load_lib_end
67
	jl .test_lib_open
1338 IgorA 68
 
1456 IgorA 69
;---------------------------------------------------------------------
1592 IgorA 70
	stdcall [ted_init], tedit0
7488 IgorA 71
	stdcall [tl_data_init], tree1
7576 IgorA 72
	option_boxes_set_sys_color sc,opt_grlist1
1338 IgorA 73
 
1467 IgorA 74
; OpenDialog initialisation
1592 IgorA 75
	stdcall [OpenDialog_Init],OpenDialog_data
1467 IgorA 76
 
7573 IgorA 77
; kmenu initialisation
78
	call tedit_menu_init
5649 leency 79
 
2632 IgorA 80
; init toolbar file
6906 IgorA 81
	include_image_file 'te_icon.png', bmp_icon,,,6 ;6 для серых кнопок
4128 IgorA 82
	mov eax,[bmp_icon]
83
	add eax,TOOLBAR_ICONS_SIZE
84
	stdcall img_to_gray, [bmp_icon],eax,(TOOLBAR_ICONS_SIZE)/3
1338 IgorA 85
;---------------------------------------------------------------------
6906 IgorA 86
; внедряем файл с курсорами и линиями
87
	include_image_file '..\..\media\log_el\trunk\tl_sys_16.png', icon_tl_sys
2632 IgorA 88
	mov eax,dword[icon_tl_sys]
89
	mov dword[tree1.data_img_sys],eax
6906 IgorA 90
; внедряем файл с иконками узлов
91
	include_image_file 'tl_nod_16.png', icon_tl_sys
2632 IgorA 92
	mov eax,dword[icon_tl_sys]
93
	mov dword[tree1.data_img],eax
1338 IgorA 94
;------------------------------------------------------------------------------
5911 IgorA 95
	copy_path fn_syntax_dir,sys_path,file_name,0 ;берем путь к папке с файлами синтаксиса
6086 IgorA 96
	mcall SF_FILE,tree_file_struct
1338 IgorA 97
 
7577 IgorA 98
	cmp ebx,0
99
	jle .end_dir_init
100
		mov eax,dir_mem+32+40
5911 IgorA 101
		mov ecx,ebx
102
		@@:
103
			cmp byte[eax],'.' ;фильтруем файлы с именами '.' и '..'
104
			je .filter
105
			;0x10000 ;1*2^16 - где 1 номер иконки с книгой
7488 IgorA 106
			stdcall [tl_node_add], tree1,0x10000,eax
107
			stdcall [tl_cur_next], tree1
5911 IgorA 108
			.filter:
109
			add eax,304
110
			loop @b
7488 IgorA 111
		stdcall [tl_cur_beg],tree1 ;ставим курсор на начало списка
7508 IgorA 112
		or dword[tree1.style], tl_cursor_pos_limited ;ограничиваем движение курсора в пределах списка
5911 IgorA 113
	.end_dir_init:
1338 IgorA 114
 
2817 IgorA 115
;--- load ini file ---
2855 IgorA 116
	copy_path ini_name,sys_path,file_name,0
2817 IgorA 117
	;window startup pozition
7488 IgorA 118
	stdcall [ini_get_int],file_name,ini_sec_window,key_window_l,ini_def_window_l
2817 IgorA 119
	mov word[wnd_s_pos+2],ax
7488 IgorA 120
	stdcall [ini_get_int],file_name,ini_sec_window,key_window_w,ini_def_window_w
2817 IgorA 121
	mov word[wnd_s_pos],ax
7488 IgorA 122
	stdcall [ini_get_int],file_name,ini_sec_window,key_window_t,ini_def_window_t
2817 IgorA 123
	mov word[wnd_s_pos+6],ax
7488 IgorA 124
	stdcall [ini_get_int],file_name,ini_sec_window,key_window_h,ini_def_window_h
2817 IgorA 125
	mov word[wnd_s_pos+4],ax
126
	;scrool type
7488 IgorA 127
	stdcall [ini_get_int],file_name,ini_sec_window,key_scroll_type,ini_def_scroll_type
2817 IgorA 128
	mov [wScr.type],eax
129
	mov [hScr.type],eax
130
	mov [ws_dir_lbox.type],eax
3244 IgorA 131
    mov [w_scr_t3.type],eax
2817 IgorA 132
	;symbol size
7488 IgorA 133
	stdcall [ini_get_int],file_name,ini_sec_window,key_symbol_w,ini_def_symbol_w
2817 IgorA 134
	mov dword[tedit0.rec.width],eax
7488 IgorA 135
	stdcall [ini_get_int],file_name,ini_sec_window,key_symbol_h,ini_def_symbol_h
2817 IgorA 136
	mov dword[tedit0.rec.height],eax
6256 IgorA 137
	;lea eax,[eax+eax*2]
138
	;mov dword[tedit0.rec.top],eax
139
	;font size
7488 IgorA 140
	stdcall [ini_get_int],file_name,ini_sec_window,key_font_s,ini_def_font_s
6256 IgorA 141
	shl eax,24
142
	mov dword[tedit0.font_size],eax
7488 IgorA 143
	;кнопки на панели
7573 IgorA 144
	ini_panel key_but_new,    ID_BUT_NEW
145
	ini_panel key_but_open,   ID_BUT_OPEN
146
	ini_panel key_but_save,   ID_BUT_SAVE
147
	ini_panel key_but_save_as,ID_BUT_SAVE_AS
148
	ini_panel key_but_select, ID_BUT_SELECT
149
	ini_panel key_but_cut,    ID_BUT_CUT
150
	ini_panel key_but_copy,   ID_BUT_COPY
151
	ini_panel key_but_paste,  ID_BUT_PASTE
152
	ini_panel key_but_find,   ID_BUT_FIND
153
	ini_panel key_but_replace,ID_BUT_REPLACE
154
	ini_panel key_but_key_words,ID_BUT_KEY_WORDS
155
	ini_panel key_but_upper,  ID_BUT_UPPER
156
	ini_panel key_but_lower,  ID_BUT_LOWER
157
	ini_panel key_but_reverse,ID_BUT_REVERSE
158
	ini_panel key_but_undo,   ID_BUT_UNDO
159
	ini_panel key_but_redo,   ID_BUT_REDO
160
	ini_panel key_but_invisible,ID_BUT_INVISIBLE
161
	ini_panel key_but_syntax_list,ID_BUT_SYNTAX_LIST
162
	ini_panel key_but_syntax_mode,ID_BUT_SYNTAX_MODE
163
	ini_panel key_but_convert_1251_866,ID_BUT_CONVERT_1251_866
164
	ini_panel key_but_convert_866_1251,ID_BUT_CONVERT_866_1251
2855 IgorA 165
	;файловые расширения
166
	xor edx,edx
167
	mov ebx,synt_auto_open
168
	@@:
169
		;берем имя файла
7488 IgorA 170
		stdcall [ini_get_str],file_name,ini_sec_options,key_synt_file,ebx,32,ini_def_synt_f
2855 IgorA 171
		cmp byte[ebx],0
172
		je @f
173
		inc byte[key_synt_file.numb]
174
		add ebx,32
175
		;берем расширения
7488 IgorA 176
		stdcall [ini_get_str],file_name,ini_sec_options,key_synt_ext,ebx,32,ini_def_synt_f
2855 IgorA 177
		inc byte[key_synt_ext.numb]
178
		add ebx,32
179
		inc edx
180
		cmp edx,max_synt_auto_open
181
		jl @b
182
	@@:
2817 IgorA 183
 
1338 IgorA 184
;--- load color option file ---
6086 IgorA 185
	stdcall open_unpac_synt_file,[fn_col_option]
1338 IgorA 186
 
187
;--- get cmd line ---
2708 IgorA 188
	cmp byte[openfile_path+3],0 ;openfile_path
189
	je @f ;if file names exist
190
		mov esi,openfile_path
6086 IgorA 191
		stdcall auto_open_syntax,esi
2708 IgorA 192
		call but_no_msg_OpenFile
193
	@@:
1338 IgorA 194
 
2817 IgorA 195
 
196
 
6239 IgorA 197
align 16
1338 IgorA 198
red_win:
5911 IgorA 199
	call draw_window
1467 IgorA 200
 
6239 IgorA 201
align 16
1467 IgorA 202
still:
6086 IgorA 203
	mcall SF_WAIT_EVENT
4991 IgorA 204
	cmp dword[exit_code],1
7575 IgorA 205
	jne @f
206
		call ted_Exit
207
		jmp still
208
	@@:
1467 IgorA 209
 
2125 IgorA 210
	cmp al,1 ;изменилось положение окна
211
	jz red_win
212
	cmp al,2
213
	jz key
214
	cmp al,3
215
	jz button
216
	cmp al,6 ;мышь
217
	jne @f
7575 IgorA 218
		call mouse
2125 IgorA 219
	@@:
220
	jmp still
1467 IgorA 221
 
6239 IgorA 222
align 16
1338 IgorA 223
mouse:
5649 leency 224
	stdcall [kmainmenu_dispatch_cursorevent], [main_menu]
1338 IgorA 225
 
6239 IgorA 226
	mcall SF_MOUSE_GET,SSF_WINDOW_POSITION
227
	cmp word[tedit0.wnd.top],ax
228
	jg .no_edit
229
	shr eax,16
230
	cmp word[tedit0.wnd.left],ax
231
	jg .no_edit
232
	mcall SF_MOUSE_GET,SSF_BUTTON_EXT
233
	bt eax,24 ;двойной щелчёк левой кнопкой
234
	jnc @f
235
		stdcall [ted_but_select_word], tedit0
7575 IgorA 236
		ret
6239 IgorA 237
	@@:
238
		stdcall [ted_mouse], tedit0
239
	.no_edit:
240
 
7576 IgorA 241
	;проверка боковых панелей
242
	cmp byte[tedit0.panel_id],TED_PANEL_FIND
2125 IgorA 243
	jne @f
7579 IgorA 244
		stdcall [edit_box_mouse], edit_find
7576 IgorA 245
		stdcall [option_box_mouse], opt_grlist1
2125 IgorA 246
	@@:
7576 IgorA 247
	cmp byte[tedit0.panel_id],TED_PANEL_REPLACE
6239 IgorA 248
	jne @f
7579 IgorA 249
		stdcall [edit_box_mouse], edit_find
250
		stdcall [edit_box_mouse], edit_replace
7576 IgorA 251
		stdcall [option_box_mouse], opt_grlist1
252
	@@:
253
	cmp byte[tedit0.panel_id],TED_PANEL_SYNTAX
254
	jne @f
6239 IgorA 255
		stdcall [tl_mouse], tree1
256
	@@:
7579 IgorA 257
	cmp byte[tedit0.panel_id],TED_PANEL_GOTO
258
	jne @f
259
		stdcall [edit_box_mouse], edit_goto
260
	@@:
7575 IgorA 261
	ret
1338 IgorA 262
;---------------------------------------------------------------------
263
 
1456 IgorA 264
;output:
265
; ah = symbol
6239 IgorA 266
align 16
5911 IgorA 267
proc KeyConvertToASCII uses ebx, table:dword
268
	mov ebx,dword[table] ;convert scan to ascii
7579 IgorA 269
	shr ax,8
5911 IgorA 270
	add bx,ax
271
	mov ah,byte[ebx]
272
	ret
1456 IgorA 273
endp
1338 IgorA 274
 
6239 IgorA 275
align 16
1338 IgorA 276
key:
6239 IgorA 277
	mcall SF_KEYBOARD,SSF_GET_CONTROL_KEYS ;66.3 получить состояние управляющих клавиш
278
	xor esi,esi
279
	mov ecx,1
7579 IgorA 280
	test al,3 ;[Shift]
6239 IgorA 281
	jz @f
282
		mov cl,2
283
		or esi,KM_SHIFT
284
	@@:
285
	test al,0x0c ;[Ctrl]
286
	jz @f
287
		or esi,KM_CTRL
288
	@@:
289
	test al,0x30 ;[Alt]
290
	jz @f
291
		mov cl,3
292
		or esi,KM_ALT
293
	@@:
294
	test al,0x80 ;[NumLock]
295
	jz @f
296
		or esi,KM_NUMLOCK
297
	@@:
1457 IgorA 298
 
6239 IgorA 299
	mcall SF_SYSTEM_GET,SSF_KEYBOARD_LAYOUT,,conv_tabl ;26.2 получить раскладку клавиатуры
300
	mcall SF_GET_KEY
301
	stdcall [tl_key], tree1
1338 IgorA 302
 
7579 IgorA 303
	test word[edit_replace.flags],ed_focus ;если не в фокусе, выходим
6239 IgorA 304
	je @f
305
		cmp ah,0x80 ;if key up
306
		ja still
307
		cmp ah,42 ;[Shift] (left)
308
		je still
309
		cmp ah,54 ;[Shift] (right)
310
		je still
311
		cmp ah,56 ;[Alt]
312
		je still
313
		cmp ah,29 ;[Ctrl]
314
		je still
315
		cmp ah,69 ;[Pause Break]
316
		je still
1338 IgorA 317
 
7571 IgorA 318
		stdcall KeyConvertToASCII, conv_tabl
7579 IgorA 319
		stdcall [edit_box_key], edit_replace
7576 IgorA 320
		jmp still
321
	@@:
7579 IgorA 322
	test word[edit_find.flags],ed_focus ;если не в фокусе, выходим
7576 IgorA 323
	je @f
324
		cmp ah,0x80 ;if key up
325
		ja still
326
		cmp ah,42 ;[Shift] (left)
327
		je still
328
		cmp ah,54 ;[Shift] (right)
329
		je still
330
		cmp ah,56 ;[Alt]
331
		je still
332
		cmp ah,29 ;[Ctrl]
333
		je still
334
		cmp ah,69 ;[Pause Break]
335
		je still
336
 
337
		stdcall KeyConvertToASCII, conv_tabl
7579 IgorA 338
		stdcall [edit_box_key], edit_find
6239 IgorA 339
		jmp still
340
	@@:
7579 IgorA 341
	test word[edit_goto.flags],ed_focus ;если не в фокусе, выходим
342
	je @f
343
		cmp ah,0x80 ;if key up
344
		ja still
345
		cmp ah,42 ;[Shift] (left)
346
		je still
347
		cmp ah,54 ;[Shift] (right)
348
		je still
349
		cmp ah,56 ;[Alt]
350
		je still
351
		cmp ah,29 ;[Ctrl]
352
		je still
353
		cmp ah,69 ;[Pause Break]
354
		je still
1338 IgorA 355
 
7579 IgorA 356
		stdcall KeyConvertToASCII, conv_tabl
357
		stdcall [edit_box_key], edit_goto
358
		jmp still
359
	@@:
360
 
6239 IgorA 361
	stdcall [ted_key], tedit0, conv_tabl,esi
362
	jmp still
1338 IgorA 363
 
7573 IgorA 364
align 4
7579 IgorA 365
edit_replace edit_box TED_PANEL_WIDTH-1, 0, 20, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 300, buf_replace, mouse_dd, 0
366
edit_find edit_box TED_PANEL_WIDTH-1, 0, 20, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 300, buf_find, mouse_dd, 0
367
edit_goto edit_box TED_PANEL_WIDTH-1, 0, 20, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 10, buf_goto, mouse_dd, 0
1338 IgorA 368
 
2708 IgorA 369
unpac_mem dd 0
1338 IgorA 370
 
1343 IgorA 371
if lang eq ru
2632 IgorA 372
  head_f_i:
7577 IgorA 373
  head_f_l db '"Системная ошибка',0
374
  err_message_found_lib0 db 'Не найдена библиотека ',39,'box_lib.obj',39,'" -tE',0
375
  err_message_import0 db 'Ошибка при импорте библиотеки ',39,'box_lib.obj',39,'" -tW',0
376
  err_message_found_lib1 db 'Не найдена библиотека ',39,'msgbox.obj',39,'" -tE',0
377
  err_message_import1 db 'Ошибка при импорте библиотеки ',39,'msgbox.obj',39,'" -tW',0
378
  err_message_found_lib2 db 'Не найдена библиотека ',39,'proc_lib.obj',39,'" -tE',0
379
  err_message_import2 db 'Ошибка при импорте библиотеки ',39,'proc_lib.obj',39,'" -tW',0
380
  err_message_found_lib_3 db 'Не найдена библиотека ',39,'libimg.obj',39,'" -tE',0
381
  err_message_import_3 db 'Ошибка при импорте библиотеки ',39,'libimg.obj',39,'" -tW',0
382
  err_message_found_lib_4 db 'Не найдена библиотека ',39,'libini.obj',39,'" -tE',0
383
  err_message_import_4 db 'Ошибка при импорте библиотеки ',39,'libini.obj',39,'" -tW',0
384
  err_message_found_lib_5 db 'Не найдена библиотека ',39,'libkmenu.obj',39,'" -tE',0
385
  err_message_import_5 db 'Ошибка при импорте библиотеки ',39,'libkmenu.obj',39,'" -tW',0
1343 IgorA 386
else
2632 IgorA 387
  head_f_i:
7577 IgorA 388
  head_f_l db '"System error',0
389
  err_message_found_lib0 db 'Sorry I cannot found library ',39,'box_lib.obj',39,'" -tE',0
390
  err_message_import0 db 'Error on load import library ',39,'box_lib.obj',39,'" -tW',0
391
  err_message_found_lib1 db 'Sorry I cannot found library ',39,'msgbox.obj',39,'" -tE',0
392
  err_message_import1 db 'Error on load import library ',39,'msgbox.obj',39,'" -tW',0
393
  err_message_found_lib2 db 'Sorry I cannot found library ',39,'proc_lib.obj',39,'" -tE',0
394
  err_message_import2 db 'Error on load import library ',39,'proc_lib.obj',39,'" -tW',0
395
  err_message_found_lib_3 db 'Sorry I cannot found library ',39,'libimg.obj',39,'" -tE',0
396
  err_message_import_3 db 'Error on load import library ',39,'libimg.obj',39,'" -tW',0
397
  err_message_found_lib_4 db 'Sorry I cannot found library ',39,'libini.obj',39,'" -tE',0
398
  err_message_import_4 db 'Error on load import library ',39,'libini.obj',39,'" -tW',0
399
  err_message_found_lib_5 db 'Sorry I cannot found library ',39,'libkmenu.obj',39,'" -tE',0
400
  err_message_import_5 db 'Error on load import library ',39,'libkmenu.obj',39,'" -tW',0
1343 IgorA 401
end if
1338 IgorA 402
 
403
;library structures
404
l_libs_start:
2632 IgorA 405
	lib0 l_libs lib_name_0, sys_path, file_name, system_dir_0,\
406
		err_message_found_lib0, head_f_l, import_box_lib,err_message_import0, head_f_i
407
	lib1 l_libs lib_name_1, sys_path, file_name, system_dir_1,\
408
		err_message_found_lib1, head_f_l, import_msgbox_lib, err_message_import1, head_f_i
409
	lib2 l_libs lib_name_2, sys_path, file_name, system_dir_2,\
410
		err_message_found_lib2, head_f_l, import_proclib, err_message_import2, head_f_i
411
	lib3 l_libs lib_name_3, sys_path, file_name, system_dir_3,\
412
		err_message_found_lib_3, head_f_l, import_libimg, err_message_import_3, head_f_i
2817 IgorA 413
	lib4 l_libs lib_name_4, sys_path, file_name, system_dir_4,\
414
		err_message_found_lib_4, head_f_l, import_libini, err_message_import_4, head_f_i
5649 leency 415
	lib5 l_libs lib_name_5, sys_path, file_name, system_dir_5,\
416
		err_message_found_lib_5, head_f_l, import_libkmenu, err_message_import_5, head_f_i
1338 IgorA 417
load_lib_end:
418
 
2708 IgorA 419
IncludeIGlobals
5643 leency 420
hed db 'TextEdit '
1338 IgorA 421
i_end:
5643 leency 422
	openfile_path: ;полный путь к файлу с которым идет работа
423
		rb 4096
2855 IgorA 424
	dir_mem rb 32+304*count_of_dir_list_files
425
	wnd_s_pos: ;место для настроек стартовой позиции окна
426
		rq 1
427
	last_open_synt_file rb 32 ;имя последнего подключенного файла синтаксиса
428
	buf rb BUF_SIZE ;буфер для копирования и вставки
429
	buf_find rb 302 ;буфер для поиска текста
7576 IgorA 430
	buf_replace rb 302 ;буфер для замены текста
7579 IgorA 431
	buf_goto rb 12 ;буфер для перхода на строку
5939 IgorA 432
	sc system_colors
2708 IgorA 433
IncludeUGlobals
1467 IgorA 434
	align 16
435
	procinfo process_information
1705 IgorA 436
		rb 1024
1467 IgorA 437
	thread:
6256 IgorA 438
		rb 4096
439
align 16
3244 IgorA 440
    thread_coords:
5830 IgorA 441
	rb 4096
6256 IgorA 442
align 16
1338 IgorA 443
stacktop:
4308 IgorA 444
	sys_path: ;путь откуда запустился исполняемый файл
1705 IgorA 445
		rb 4096
4308 IgorA 446
	file_name: ;параметры запуска
1705 IgorA 447
		rb 4096
4308 IgorA 448
	syntax_path: ;имя подключаемого файла синтаксиса
1705 IgorA 449
		rb 4096
450
	plugin_path:
451
		rb 4096
4308 IgorA 452
	text_work_area: ;путь к файлу, который показывается в окне
453
		rb 4096
454
	filename_area: ;имя файла для диалога открытия/закрытия
1705 IgorA 455
		rb 256
456
	file_info:
457
		rb 40
1338 IgorA 458
mem: