VirtualBox

Changeset 3136 in kBuild for trunk/SlickEdit/kdev.e


Ignore:
Timestamp:
Mar 6, 2018 8:24:16 PM (7 years ago)
Author:
bird
Message:

kdev.e: 22.x adjustments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SlickEdit/kdev.e

    r3132 r3136  
    196196        GetComments(aComments, "M", sLexer);
    197197        for (i = 0; i < aComments._length(); i++)
     198# if __VERSION__ >= 22.0
     199            if (aComments[i].type != 'doc_comment')
     200# else
    198201            if (!aComments[i].isDocumentation)
     202# endif
    199203            {
    200204                sLeft   = aComments[i].delim1;
     
    233237        GetComments(aComments, "L", sLexer);
    234238        for (i = 0; i < aComments._length(); i++)
     239# if __VERSION__ >= 22.0
     240            if (aComments[i].type != 'doc_comment')
     241# else
    235242            if (!aComments[i].isDocumentation)
     243# endif
    236244            {
    237245                sLeft   = aComments[i].delim1;
     
    35333541#endif
    35343542
     3543#if __VERSION__ >= 21.0
     3544int def_gui_find_default;
     3545#endif
     3546
     3547
    35353548/**
    35363549 * Loads the standard bird settings.
     
    37213734     * Change the codehelp default.
    37223735     */
    3723     int fOldCodeHelp = def_codehelp_flags;
    3724     int fNewCodeHelp = fOldCodeHelp \
     3736# if __VERSION__ >= 22.0
     3737    VSCodeHelpFlags fOldCodeHelp, fNewCodeHelp;
     3738# else
     3739    int             fOldCodeHelp, fNewCodeHelp;
     3740# endif
     3741    fOldCodeHelp = def_codehelp_flags;
     3742    fNewCodeHelp = fOldCodeHelp \
    37253743                     | VSCODEHELPFLAG_AUTO_FUNCTION_HELP \
    37263744                     | VSCODEHELPFLAG_AUTO_LIST_MEMBERS \
     
    37603778#endif
    37613779
     3780# if __VERSION__ >= 21.0
     3781    /* Old style search dialog, not mini. */
     3782    def_gui_find_default = 1;
     3783# endif
     3784
     3785    _fso_strip_spaces(STSO_STRIP_MODIFIED);
     3786
    37623787    /** @todo
    3763      *  - def_save_options
    37643788     *  - Auto restore clipboards
    37653789     *   */
Note: See TracChangeset for help on using the changeset viewer.

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