diff --git a/docs/line-number.md b/docs/line-number.md index 8493e45..8877f1f 100644 --- a/docs/line-number.md +++ b/docs/line-number.md @@ -8,7 +8,7 @@ Starting From version 1.1.1 CodeView now have support for line number. codeView.setEnableLineNumber(enableLineNumber); ``` -### Check if line number is enabled +### Check if line number feature is enabled ``` codeView.isLineNumberEnabled(); @@ -20,12 +20,30 @@ codeView.isLineNumberEnabled(); codeView.setEnableRelativeLineNumber(enableRelativeLineNumber); ``` -### Check if relative line number is enabled +### Check if relative line number feature is enabled ``` codeView.isLineRelativeNumberEnabled(); ``` +### Enable/Disable highlight current line + +``` +codeView.setEnableHighlightCurrentLine(enableHighlightCurrentLine); +``` + +### Check if highlight current line feature is enabled + +``` +codeView.isHighlightCurrentLineEnabled(); +``` + +### Set highlight current line color + +``` +codeView.setHighlightCurrentLineColor(Color.GREY); +``` + ### Set line number text color ```