Subversion Repositories SvarDOS

Compare Revisions

No changes between revisions

Ignore whitespace Rev 1334 → Rev 1335

/sved/trunk/deflang.c
1,9 → 1,9
/* THIS FILE HAS BEEN GENERATED BY TLUMACZ (PART OF THE SVARLANG LIBRARY) */
const unsigned short svarlang_memsz = 284u;
const unsigned short svarlang_string_count = 15u;
const unsigned short svarlang_memsz = 348u;
const unsigned short svarlang_string_count = 22u;
 
char svarlang_mem[284] = {
0x48,0x45,0x4c,0x50,0x00,
char svarlang_mem[348] = {
0x46,0x31,0x3d,0x48,0x45,0x4c,0x50,0x00,
0x4e,0x45,0x57,0x20,0x46,0x49,0x4c,0x45,0x00,
0x53,0x41,0x56,0x45,0x44,0x00,
0x53,0x41,0x56,0x49,0x4e,0x47,0x20,0x46,0x41,0x49,0x4c,0x45,0x44,0x00,
12,35 → 12,49
0x50,0x72,0x65,0x73,0x73,0x20,0x45,0x4e,0x54,0x45,0x52,0x20,0x74,0x6f,0x20,0x63,
0x6f,0x6e,0x66,0x69,0x72,0x6d,0x2e,0x00,
0x53,0x61,0x76,0x65,0x20,0x61,0x73,0x3a,0x00,
0x75,0x73,0x61,0x67,0x65,0x3a,0x20,0x73,0x76,0x65,0x64,0x20,0x66,0x69,0x6c,0x65,
0x2e,0x74,0x78,0x74,0x00,
0x46,0x35,0x20,0x20,0x3d,0x20,0x73,0x61,0x76,0x65,0x20,0x66,0x69,0x6c,0x65,0x00,
0x46,0x36,0x20,0x20,0x3d,0x20,0x73,0x61,0x76,0x65,0x20,0x61,0x73,0x2e,0x2e,0x2e,
0x00,
0x46,0x31,0x30,0x20,0x3d,0x20,0x63,0x68,0x61,0x6e,0x67,0x65,0x20,0x6c,0x69,0x6e,
0x65,0x20,0x65,0x6e,0x64,0x69,0x6e,0x67,0x73,0x00,
0x43,0x54,0x52,0x4c,0x2b,0x52,0x69,0x67,0x68,0x74,0x20,0x3d,0x20,0x6a,0x75,0x6d,
0x70,0x20,0x74,0x6f,0x20,0x6e,0x65,0x78,0x74,0x20,0x77,0x6f,0x72,0x64,0x00,
0x43,0x54,0x52,0x4c,0x2b,0x4c,0x65,0x66,0x74,0x20,0x20,0x3d,0x20,0x6a,0x75,0x6d,
0x70,0x20,0x74,0x6f,0x20,0x70,0x72,0x65,0x76,0x20,0x77,0x6f,0x72,0x64,0x00,
0x45,0x53,0x43,0x20,0x3d,0x20,0x71,0x75,0x69,0x74,0x00,
0x75,0x73,0x61,0x67,0x65,0x3a,0x20,0x73,0x76,0x65,0x64,0x20,0x5b,0x66,0x69,0x6c,
0x65,0x2e,0x74,0x78,0x74,0x5d,0x00,
0x46,0x32,0x20,0x20,0x4e,0x65,0x77,0x20,0x66,0x69,0x6c,0x65,0x00,
0x46,0x33,0x20,0x20,0x4f,0x70,0x65,0x6e,0x20,0x66,0x69,0x6c,0x65,0x00,
0x46,0x35,0x20,0x20,0x53,0x61,0x76,0x65,0x00,
0x46,0x36,0x20,0x20,0x53,0x61,0x76,0x65,0x20,0x61,0x73,0x2e,0x2e,0x2e,0x00,
0x46,0x31,0x30,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x20,0x6c,0x69,0x6e,0x65,0x20,
0x65,0x6e,0x64,0x69,0x6e,0x67,0x73,0x00,
0x45,0x53,0x43,0x20,0x51,0x75,0x69,0x74,0x00,
0x2e,0x00,
0x4e,0x61,0x76,0x69,0x67,0x61,0x74,0x69,0x6f,0x6e,0x3a,0x00,
0x2e,0x00,
0x55,0x70,0x2f,0x44,0x6f,0x77,0x6e,0x2f,0x4c,0x65,0x66,0x74,0x2f,0x52,0x69,0x67,
0x68,0x74,0x2f,0x50,0x67,0x55,0x70,0x2f,0x50,0x67,0x44,0x6f,0x77,0x6e,0x00,
0x43,0x54,0x52,0x4c,0x2b,0x52,0x69,0x67,0x68,0x74,0x20,0x20,0x4a,0x75,0x6d,0x70,
0x20,0x74,0x6f,0x20,0x6e,0x65,0x78,0x74,0x20,0x77,0x6f,0x72,0x64,0x00,
0x43,0x54,0x52,0x4c,0x2b,0x4c,0x65,0x66,0x74,0x20,0x20,0x20,0x4a,0x75,0x6d,0x70,
0x20,0x74,0x6f,0x20,0x70,0x72,0x65,0x76,0x20,0x77,0x6f,0x72,0x64,0x00,
0x2e,0x00,
0x50,0x72,0x65,0x73,0x73,0x20,0x61,0x6e,0x79,0x20,0x6b,0x65,0x79,0x00
};
 
unsigned short svarlang_dict[30] = {
unsigned short svarlang_dict[44] = {
0x0000,0x0000,
0x0001,0x0005,
0x0002,0x000e,
0x0003,0x0014,
0x0004,0x0022,
0x0005,0x0040,
0x0006,0x0058,
0x0100,0x0061,
0x0800,0x0076,
0x0801,0x0086,
0x0802,0x0097,
0x0803,0x00b1,
0x0804,0x00d0,
0x080a,0x00ef,
0x080b,0x00fa
0x0001,0x0008,
0x0002,0x0011,
0x0003,0x0017,
0x0004,0x0025,
0x0005,0x0043,
0x0006,0x005b,
0x0100,0x0064,
0x0800,0x007b,
0x0801,0x0088,
0x0802,0x0096,
0x0803,0x009f,
0x0804,0x00ae,
0x0805,0x00c6,
0x0806,0x00cf,
0x0807,0x00d1,
0x0808,0x00dd,
0x0809,0x00df,
0x080a,0x00fe,
0x080b,0x011c,
0x080c,0x013a,
0x080d,0x013c
};
/sved/trunk/nls/en_utf8.txt
4,7 → 4,7
# MAIN SCREEN #
###############
 
0.0:HELP
0.0:F1=HELP
0.1:NEW FILE
0.2:SAVED
0.3:SAVING FAILED
12,11 → 12,12
0.5:Press ENTER to confirm.
0.6:Save as:
 
 
################
# USAGE SCREEN #
################
 
1.0:usage: sved file.txt
1.0:usage: sved [file.txt]
 
 
###############
23,10 → 24,17
# HELP SCREEN #
###############
 
8.0:F5 = save file
8.1:F6 = save as...
8.2:F10 = change line endings
8.3:CTRL+Right = jump to next word
8.4:CTRL+Left = jump to prev word
8.10:ESC = quit
8.11:Press any key
8.0:F2 New file
8.1:F3 Open file
8.2:F5 Save
8.3:F6 Save as...
8.4:F10 Change line endings
8.5:ESC Quit
8.6:.
8.7:Navigation:
8.8:.
8.9:Up/Down/Left/Right/PgUp/PgDown
8.10:CTRL+Right Jump to next word
8.11:CTRL+Left Jump to prev word
8.12:.
8.13:Press any key
/sved/trunk/sved.c
175,7 → 175,7
 
static void ui_basic(const struct file *db) {
const char *s = svarlang_strid(0); /* HELP */
unsigned char helpcol = screenw - (strlen(s) + 4);
unsigned char helpcol = screenw - strlen(s);
 
/* fill status bar with background (without modflag as it is refreshed by ui_refresh) */
mdr_cout_char_rep(screenh - 1, 1, ' ', SCHEME_STBAR1, screenw - 1);
191,11 → 191,10
{
const char *eoltype = "CRLF";
if (db->lfonly) eoltype = "LF";
mdr_cout_str(screenh - 1, helpcol - 5, eoltype, SCHEME_STBAR1, 5);
mdr_cout_str(screenh - 1, helpcol - 6, eoltype, SCHEME_STBAR1, 5);
}
 
mdr_cout_str(screenh - 1, helpcol, " F1=", SCHEME_STBAR2, 40);
mdr_cout_str(screenh - 1, helpcol + 4, s, SCHEME_STBAR2, 40);
mdr_cout_str(screenh - 1, helpcol, s, SCHEME_STBAR2, 40);
}
 
 
226,20 → 225,19
#define MAXLINLEN 35
unsigned short i, offset;
offset = (screenw - MAXLINLEN + 2) >> 1;
 
mdr_cout_cursor_hide();
for (i = 2; i <= 15; i++) {
for (i = 2; i < 18; i++) {
mdr_cout_char_rep(i, offset - 2, ' ', SCHEME_STBAR1, MAXLINLEN + 2);
}
 
mdr_cout_str(3, offset, svarlang_str(0, 0), SCHEME_STBAR1, MAXLINLEN);
for (i = 0; i <= 4; i++) {
mdr_cout_str(5 + i, offset, svarlang_str(8, i), SCHEME_STBAR1, MAXLINLEN);
for (i = 0; i < 20; i++) {
const char *s = svarlang_str(8, i);
if (s[0] == 0) break;
if (s[0] == '.') continue;
mdr_cout_str(3 + i, offset, s, SCHEME_STBAR1, MAXLINLEN);
}
mdr_cout_str(5 + 1 + i, offset, svarlang_str(8, 10), SCHEME_STBAR1, MAXLINLEN);
 
/* Press any key */
mdr_cout_str(14, offset, svarlang_str(8, 11), SCHEME_STBAR1, MAXLINLEN);
 
keyb_getkey();
mdr_cout_cursor_show();
#undef MAXLINLEN
/sved/trunk/sved.lng
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream