X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCode.h;h=6a3f1bc15f1b06a33952efcf6a3c101a77a447d1;hb=2c357c1d23b7b83839a9beb8225d4f1ae4f793b4;hp=2dd7d79c67c97c0324f34c126e61a0e464da5c1c;hpb=36e9a1fd30870cde3ef4a25c31fb4fafa4fc1ae6;p=lyx.git diff --git a/src/insets/InsetCode.h b/src/insets/InsetCode.h index 2dd7d79c67..6a3f1bc15f 100644 --- a/src/insets/InsetCode.h +++ b/src/insets/InsetCode.h @@ -36,9 +36,7 @@ enum InsetCode { /// REF_CODE, /// - URL_CODE, // 5 - /// - HTMLURL_CODE, + HYPERLINK_CODE, // 5 /// SEPARATOR_CODE, /// @@ -120,18 +118,22 @@ enum InsetCode { /// NOMENCL_PRINT_CODE, /// - PAGEBREAK_CODE, + NEWPAGE_CODE, /// LISTINGS_CODE, /// INFO_CODE, + /// + COLLAPSABLE_CODE, // 50 }; /** returns the InsetCode corresponding to the \c name. -* Eg, translate("branch") == BRANCH_CODE -* implemented in 'Inset.cpp'. +* Eg, insetCode("branch") == BRANCH_CODE +* Implemented in 'Inset.cpp'. */ InsetCode insetCode(std::string const & name); +/// the other way +std::string insetName(InsetCode); } // namespace lyx