Ignore:
Timestamp:
Nov 29, 2016, 11:14:56 AM (9 years ago)
Author:
bird
Message:

SlickEdit: Updates for version 21

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SlickEdit/kdev.e

    r2826 r3015  
    24472447        return -1;
    24482448    //say 'k_style_emacs_var: 'sVar'='sVal;
     2449
     2450#if __VERSION__ >= 21.0
     2451    /** @todo figure out p_index. */
     2452    return 0;
     2453#else
    24492454
    24502455    /*
     
    28052810
    28062811    return 0;
     2812#endif
    28072813}
    28082814
     
    35713577
    35723578        /* C/C++ setup, wrap at column 80 not 64. */
     3579# if __VERSION__ >= 21.0
     3580        if (_LangGetPropertyInt32(sLangId, VSLANGPROPNAME_CW_FIXED_RIGHT_COLUMN) < 80)
     3581            _LangSetPropertyInt32(sLangId, VSLANGPROPNAME_CW_FIXED_RIGHT_COLUMN, 80);
     3582# else
    35733583        sTmp = LanguageSettings.getCommentWrapOptions(sLangId);
    35743584        if (length(sTmp) > 10)
     
    35823592            //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.
    35833593        }
     3594# endif
    35843595
    35853596        /* set the encoding to UTF-8 without any friggin useless signatures. */
Note: See TracChangeset for help on using the changeset viewer.