Interface ITextEditorExtension6

    • Method Detail

      • isWordWrapEnabled

        boolean isWordWrapEnabled()
        Returns true if word wrap is currently enabled, false otherwise.
        Returns:
        the receiver's word wrap state
      • setWordWrap

        void setWordWrap​(boolean enable)
        Sets whether the text editor wraps lines. Nothing happens if the receiver already is in the requested state.

        Note: enabling word wrap disables block selection mode (see ITextEditorExtension5), enabling block selection mode will disable word wrap.

        Parameters:
        enable - true to enable word wrap, false to turn it off.
        See Also:
        ITextEditorExtension5.setBlockSelectionMode(boolean)