Changeset 2683 for trunk/VSlickMacros
- Timestamp:
- May 13, 2013, 4:50:54 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VSlickMacros/kdev.e
r2610 r2683 3444 3444 'PV-WAVE (*.pro),' 3445 3445 'Slick-C (*.e;*.sh),' 3446 'SQL Files (*.sql ),'3446 'SQL Files (*.sql;*.pgsql),' 3447 3447 'SAS Files (*.sas),' 3448 3448 'Text Files (*.txt),' … … 3530 3530 //replace_def_data("def-comment-wrap-c",'1 1 0 1 1 80 0 0 80 0 80 0 80 0 0 1 '); - enable block comment wrap. 3531 3531 } 3532 3533 /* set the encoding to UTF-8 without any friggin useless signatures. */ 3534 idxExt = name_match('def-lang-for-ext-', 1, MISC_TYPE); 3535 while (idxExt > 0) 3536 { 3537 if (name_info(idxExt) == sLangId) 3538 { 3539 parse name_name(idxExt) with 'def-lang-for-ext-' auto sExt; 3540 sVarName = 'def-encoding-' :+ sExt; 3541 idxExtEncoding = find_index(sVarName, MISC_TYPE); 3542 if (idxExtEncoding != 0) 3543 delete_name(idxExtEncoding); 3544 } 3545 idxExt = name_match('def-lang-for-ext-', 0, MISC_TYPE); 3546 } 3547 replace_def_data('def-encoding-' :+ sLangId, '+futf8 '); 3532 3548 } 3533 3549 LanguageSettings.setIndentWithTabs('mak', true); … … 3538 3554 LanguageSettings.setBeautifierProfileName('m', "bird's Objective-C Style"); 3539 3555 3540 /* Fix .asm and add .mac, .kmk and .cmd. */ 3541 replace_def_data("def-lang-for-ext-asm",'masm'); 3542 replace_def_data("def-lang-for-ext-mac",'masm'); 3543 replace_def_data("def-lang-for-ext-kmk",'mak'); 3544 replace_def_data("def-lang-for-ext-cmd",'bat'); 3556 /* Fix .asm and add .mac, .kmk, .cmd, and .pgsql. */ 3557 replace_def_data("def-lang-for-ext-asm", 'masm'); 3558 replace_def_data("def-lang-for-ext-mac", 'masm'); 3559 replace_def_data("def-lang-for-ext-kmk", 'mak'); 3560 replace_def_data("def-lang-for-ext-cmd", 'bat'); 3561 replace_def_data("def-lang-for-ext-pgsql", 'plsql'); 3545 3562 3546 3563 /*
Note:
See TracChangeset
for help on using the changeset viewer.