mirror of
https://github.com/minexew/Shrine.git
synced 2026-05-26 15:02:13 +00:00
71 lines
1.7 KiB
HolyC
71 lines
1.7 KiB
HolyC
Cd(__DIR__);;
|
|
|
|
#help_index "DolDoc"
|
|
#help_file "::/Doc/DolDoc"
|
|
|
|
/*
|
|
TempleOS DolDoc's can have "cursor movement" cmds which can move the cursor up
|
|
the screen and layer on existing text. It can also have callback funs which
|
|
supply live, changing text. For these reasons, you can't assume you know
|
|
where the visible portion of the document is and must process much
|
|
of the document each time it is placed on the screen, becoming CPU
|
|
intensive on big documents.
|
|
See $LK,"::/Doc/DolDocOverview.DD"$
|
|
*/
|
|
|
|
//Hash Types
|
|
#define DHT_DOC_CMD 1
|
|
#define DHT_DOC_FLAG 2
|
|
#define DHT_COLOR 4
|
|
|
|
public class CDolDocGlbls
|
|
{
|
|
CHashTable *hash;
|
|
I64 dft_de_flags [DOCT_NUM_TYPES],
|
|
type_flags_nontag_invisible [(DOCT_NUM_TYPES+63)/64],
|
|
type_flags_form [(DOCT_NUM_TYPES+63)/64],
|
|
type_flags_data [(DOCT_NUM_TYPES+63)/64],
|
|
type_flags_chk_dup [(DOCT_NUM_TYPES+63)/64],
|
|
clean_scan_codes [4];
|
|
I32 dft_type_flags [DOCT_NUM_TYPES];
|
|
} doldoc;
|
|
MemSet(&doldoc,0,sizeof(CDolDocGlbls));
|
|
|
|
#help_index "God"
|
|
#define BIBLE_FILENAME "::/Misc/Bible.TXT.Z"
|
|
|
|
#include "DocExt"
|
|
#include "DocBin"
|
|
#include "DocNew"
|
|
#include "DocForm"
|
|
#include "DocDblBuf"
|
|
#include "DocPlain"
|
|
#include "DocInit"
|
|
#include "DocHighlight"
|
|
#include "DocRecalcLib"
|
|
#include "DocRecalc"
|
|
#include "DocFile"
|
|
#include "DocClipBoard"
|
|
#include "DocRun"
|
|
#include "DocGet"
|
|
#include "DocChar"
|
|
#include "DocFind"
|
|
#include "DocLink"
|
|
#include "DocEd"
|
|
#include "DocPopUp"
|
|
#include "DocGr"
|
|
#include "DocMacro"
|
|
#include "DocWidgetWiz"
|
|
#include "DocPutKey"
|
|
#include "DocPutS"
|
|
#include "DocOpt"
|
|
#include "DocCodeTools"
|
|
#include "DocTree"
|
|
#include "DocTerm"
|
|
|
|
KeyDevAdd(&KDDocPutKey,&KDDocPutS,0x80000000,TRUE);
|
|
fp_getstr2=&DocGetStr2;
|
|
fp_doc_put=&DocPut;
|
|
|
|
Cd("..");;
|