/sved/trunk/deflang.c |
---|
1,8 → 1,8 |
/* THIS FILE HAS BEEN GENERATED BY TLUMACZ (PART OF THE SVARLANG LIBRARY) */ |
const unsigned short svarlang_memsz = 390u; |
const unsigned short svarlang_string_count = 23u; |
const unsigned short svarlang_memsz = 441u; |
const unsigned short svarlang_string_count = 25u; |
char svarlang_mem[390] = { |
char svarlang_mem[441] = { |
0x45,0x53,0x43,0x3d,0x4d,0x45,0x4e,0x55,0x00, |
0x55,0x4e,0x54,0x49,0x54,0x4c,0x45,0x44,0x00, |
0x53,0x41,0x56,0x45,0x44,0x00, |
19,13 → 19,18 |
0x46,0x49,0x4c,0x45,0x20,0x4e,0x4f,0x54,0x20,0x46,0x4f,0x55,0x4e,0x44,0x00, |
0x54,0x6f,0x6f,0x20,0x6d,0x61,0x6e,0x79,0x20,0x66,0x69,0x6c,0x65,0x73,0x00, |
0x75,0x73,0x61,0x67,0x65,0x3a,0x00, |
0x5b,0x66,0x69,0x6c,0x65,0x31,0x2e,0x74,0x78,0x74,0x5d,0x20,0x5b,0x66,0x69,0x6c, |
0x65,0x32,0x2e,0x74,0x78,0x74,0x5d,0x20,0x2e,0x2e,0x2e,0x20,0x5b,0x66,0x69,0x6c, |
0x65,0x31,0x30,0x2e,0x74,0x78,0x74,0x5d,0x00, |
0x5b,0x2f,0x6d,0x5d,0x20,0x5b,0x2f,0x74,0x5d,0x20,0x5b,0x66,0x69,0x6c,0x65,0x31, |
0x2e,0x74,0x78,0x74,0x5d,0x20,0x2e,0x2e,0x2e,0x20,0x5b,0x66,0x69,0x6c,0x65,0x31, |
0x30,0x2e,0x74,0x78,0x74,0x5d,0x00, |
0x4c,0x6f,0x61,0x64,0x69,0x6e,0x67,0x00, |
0x53,0x76,0x65,0x64,0x2c,0x20,0x74,0x68,0x65,0x20,0x53,0x76,0x61,0x72,0x44,0x4f, |
0x53,0x20,0x65,0x64,0x69,0x74,0x6f,0x72,0x00, |
0x76,0x65,0x72,0x00, |
0x2f,0x6d,0x20,0x20,0x66,0x6f,0x72,0x63,0x65,0x20,0x6d,0x6f,0x6e,0x6f,0x63,0x68, |
0x72,0x6f,0x6d,0x65,0x20,0x6d,0x6f,0x64,0x65,0x00, |
0x2f,0x74,0x20,0x20,0x64,0x6f,0x20,0x6e,0x6f,0x74,0x20,0x65,0x78,0x70,0x61,0x6e, |
0x64,0x20,0x74,0x61,0x62,0x20,0x63,0x68,0x61,0x72,0x61,0x63,0x74,0x65,0x72,0x73, |
0x00, |
0x4f,0x70,0x65,0x6e,0x20,0x66,0x69,0x6c,0x65,0x00, |
0x53,0x61,0x76,0x65,0x00, |
0x53,0x61,0x76,0x65,0x20,0x61,0x73,0x2e,0x2e,0x2e,0x00, |
34,7 → 39,7 |
0x51,0x75,0x69,0x74,0x00 |
}; |
unsigned short svarlang_dict[46] = { |
unsigned short svarlang_dict[50] = { |
0x0000,0x0000, |
0x0001,0x0009, |
0x0002,0x0012, |
49,13 → 54,15 |
0x000c,0x0095, |
0x0100,0x00a4, |
0x0101,0x00ab, |
0x0102,0x00d4, |
0x0103,0x00dc, |
0x0104,0x00f5, |
0x0801,0x00f9, |
0x0802,0x0103, |
0x0803,0x0108, |
0x0804,0x0113, |
0x0805,0x011e, |
0x0806,0x0129 |
0x0102,0x00d2, |
0x0103,0x00da, |
0x0104,0x00f3, |
0x010a,0x00f7, |
0x010b,0x0111, |
0x0801,0x0132, |
0x0802,0x013c, |
0x0803,0x0141, |
0x0804,0x014c, |
0x0805,0x0157, |
0x0806,0x0162 |
}; |
/sved/trunk/nls/en_utf8.txt |
---|
26,10 → 26,12 |
#################### |
1.0:usage: |
1.1:[file1.txt] [file2.txt] ... [file10.txt] |
1.1:[/m] [/t] [file1.txt] ... [file10.txt] |
1.2:Loading |
1.3:Sved, the SvarDOS editor |
1.4:ver |
1.10:/m force monochrome mode |
1.11:/t do not expand tab characters |
######## |
/sved/trunk/nls/pl_utf8.txt |
---|
27,10 → 27,12 |
################ |
1.0:składnia: |
1.1:[plik1.txt] [plik2.txt] ... [plik10.txt] |
1.1:[plik1.txt] ... [plik10.txt] |
1.2:Ładowanie |
1.3:Sved, edytor systemu SvarDOS |
1.4:wersja |
1.10:/m wymusza tryb cz./biały |
1.11:/t nie rozwija znaków tabulacji |
######## |
/sved/trunk/sved.c |
---|
54,6 → 54,7 |
SCHEME_ERR = 0x70; |
static unsigned char screenw, screenh; |
static unsigned char glob_monomode, glob_tablessmode; |
static struct { |
unsigned char from; |
279,7 → 280,7 |
} |
static unsigned char ui_confirm_if_unsaved(struct file *db) { |
static unsigned char ui_confirm_if_unsaved(const struct file *db) { |
unsigned char r = 0; |
if (db->modflag == 0) return(0); |
594,7 → 595,7 |
} |
/* append 8 spaces if tab char found */ |
if ((consumedbytes < len) && (buffptr[consumedbytes] == '\t')) { |
if ((consumedbytes < len) && (buffptr[consumedbytes] == '\t') && (glob_tablessmode == 0)) { |
consumedbytes++; |
if (line_append(db, " ", 8) != 0) { |
goto IOERR; |
661,6 → 662,13 |
/* look at the arg now */ |
if (*arg == '/') { |
if (arg[1] == 't') { /* /t = do not expand tabs */ |
glob_tablessmode = 1; |
} else if (arg[1] == 'm') { /* /m = force mono mode */ |
glob_monomode = 1; |
} else { /* help screen */ |
const char far *self = mdr_dos_selfexe(); |
unsigned short i; |
if (self == NULL) self = "sved"; |
684,8 → 692,13 |
} |
mdr_coutraw_char(' '); |
mdr_coutraw_puts(svarlang_str(1,1)); /* args syntax */ |
mdr_coutraw_crlf(); |
mdr_coutraw_puts(svarlang_str(1,10)); /* /m */ |
mdr_coutraw_puts(svarlang_str(1,11)); /* /t */ |
return(-1); |
} |
continue; |
} |
/* looks to be a filename */ |
if (count == 10) { |
913,7 → 926,7 |
/* parse argv (and load files, if any passed on) */ |
if (parseargv(dbarr) != 0) return; |
if (mdr_cout_init(&screenw, &screenh)) { |
if ((mdr_cout_init(&screenw, &screenh) != 0) && (glob_monomode == 0)) { |
/* load color scheme if mdr_cout_init returns a color flag */ |
SCHEME_TEXT = 0x17; |
SCHEME_MENU = 0x70; |
1143,7 → 1156,11 |
insert_in_line(db, &c, 1); |
} else if (k == 0x009) { /* TAB */ |
if (glob_tablessmode == 0) { |
insert_in_line(db, " ", 8); |
} else { |
insert_in_line(db, "\t", 1); |
} |
} else if ((k >= 0x13b) && (k <= 0x144)) { /* F1..F10 */ |
curfile = k - 0x13b; |
1213,6 → 1230,7 |
line_free(clipboard->prev); |
uidirty.from = 0; |
uidirty.to = 0xff; |
recompute_curline(db); |
} |
} |
1237,6 → 1255,7 |
} |
uidirty.from = 0; |
uidirty.to = 0xff; |
recompute_curline(db); |
#ifdef DBG_UNHKEYS |
} else { /* UNHANDLED KEY - TODO IGNORE THIS IN PRODUCTION RELEASE */ |
/sved/trunk/sved.lng |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |