VirtualBox

Changeset 3015 in kBuild


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

SlickEdit: Updates for version 21

Location:
trunk/SlickEdit
Files:
2 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. */
  • trunk/SlickEdit/kkeys.e

    r2558 r3015  
    300300      {
    301301
     302# if __VERSION__ < 21.0 /** @todo fix me? */
    302303         /* HACK ALERT: Make sure gtag_filelist_last_ext has the right value. */
    303304         _update_tag_filelist_ext(sLangId);
     
    310311         gtag_filelist_ext._makeempty();
    311312         gtag_filelist_ext[0] = sProjTagFile;
    312          saved_gtag_filelist_cache_updated = true;
     313         gtag_filelist_cache_updated = true;
     314# endif
    313315
    314316         /* Do the reference searching. */
    315317         push_ref('-e ' :+ sLangId);
    316318
     319# if __VERSION__ < 21.0
    317320         /* restore*/
    318321         gtag_filelist_cache_updated = saved_gtag_filelist_cache_updated;
    319322         gtag_filelist_ext           = saved_gtag_filelist_ext;
     323# endif
    320324      }
    321325      else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette