Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

181
Views
How to set Gutter marker for all lines in react-codemirror2?

I'm using react-codemirror2 to implement a code editor. I want to set the gutter marker for all the lines.

We can use setGutterMarker method to set gutterMaker for one line.

editor.setGutterMarker(1, 'marker', document.createTextNode("ø"))

But I want to know how to set it for all the lines. (even if the user adds new lines, it should set the gutter marker for that line)

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!