.. highlightlang:: us .. index:: EdSetLexer .. _EdSetLexer: EdSetLexer ========== .. us.tag EdSetLexer ENGLISH EdSet New5505 :ref:`EdSetLexer` sets the file type for the syntax highlighting. .. function:: bool = EdSetLexer(hEdit, ssLexer) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hEdit Identifies the editor. .. uparam:: ssLexer *ssLexer* is ``"uniscript"``, ``"xml``, ``"text"``, ``"lua"``, ``"po"``. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2013.5 - Documented. .. seealso:: :ref:`overview-editors`, :ref:`EdCreate`, :ref:`EdGetLexer` :sub:`id-1630041`