Skip to content

Cannot remove line number and make it can't be edited  #20

Closed

Description

@sasmitadn

I try to create something look like this

Screenshot_20220324-183054_Chrome

How to remove line number, make it can't be edited and can slide left-right?

Activity

  1. AmrDeveloper commented on Mar 24, 2022

    @AmrDeveloper
    Owner

    Hello @SasmitaNovitasari,

    let me split your questions

    How to remove line number?
    By default line number feature is disable and you can enable or disable it using setEnableLineNumber method.

    How to disable editing?
    After you insert the code you can use setFocusable(false).

    Can you slide left-right?
    Yes you can if you have a long line you can scroll it for example

    codeview_long_line

    If you have any question, feel free to ask it 👍🏻

  2. added
    question
    on Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions