DEVHIDE
  • Home (current)
  • About
  • Contact
  • Cookie
  • Home (current)
  • About
  • Contact
  • Cookie
  • Disclaimer
  • Privacy
  • TOS
Login Or Sign up

Monaco editor decorate range outside of line text

22 Views Asked by PSWai At 08 March 2024 at 02:19 2025-11-30T07:39:24.187000

I would like to highlight a block of text in monaco editor as squarish as possible, something looks like this:

datagrip highlight

However, it seems like decorations cannot be applied to columns that do not have actual value. I could only achieve something like this:

enter image description here

I tried passing range longer than the line length but it will be truncated to the end of line. Is there any option to configure this behaviour without padding empty spaces?

I have a simplified demo at https://microsoft.github.io/monaco-editor/playground.html?source=v0.46.0#XQAAAALpAgAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscw1_DLRgmSaumWUF-TBOsVJ4S4FwfCDQb5-2uUHXTVAefbVSd9IzaZ_vv9VR9KugsKimARHSWlrTPOQHROITHxmBQo4t5-9nSBbItajHE3t2aXZpS3nBULwWyyBNLdhoC9HSNJ-ZY9uG0I1zBlGGD5VF8cZmF6NAMOefjmlgPrN48C9rz9oN9gohCNsUMZmxlxFkBsF6kgmZZ8Ea-Pxaz0T-e5DlAcN8ORV9wM8HeQB8hTk25VOEaE51X0i6xC5xng5h9jZ7Ks31zDI9uBxhSy0xgVbLZ3iu3bJIA5P0_qw3BmPCirZlGgc4OG2NX8hIrnuAjM3zL2lZpPNo8sbvkCDj8gs7zO-um2NBleq6RnG6w4Vx8B2YQ3BljwqgkMItatVCBA-YCBc8rLHMNKsHXPQsgu3j4BYaBWap0ZO7Skbj_PNf3faxUuXcdaMPjz68NxAElbCPx7wYmGrXBc3fxlMn44gvw7dhKNlVhHrIOgCM56hu8J7G7ML61_SL9qKOVJ0E6U0ZKSRppdTqQHp6wkIZ4bmIC_Oc8XKMo-0htUL2761ka_8h8zFPkARNagRYTxbpOKfw9___lng4c

monaco-editor
Original Q&A
0

There are 0 best solutions below

Related Questions in MONACO-EDITOR

  • Monaco editor удаление таба
  • How to enforce Monaco Editor to render markers that I set to dedicated model?
  • How to add IntelliSense in monaco editor for mustache library
  • using Python in Monaco Editor
  • Creating a Next.js specific ecosystem in a monorepo
  • Find position of cursor in monaco editor from window object
  • How does a RE fully match a word that should not be highlighted if there are letters or words before and after it
  • Monaco Editor React import typescript types
  • monaco editor How to correctly match highlighted keywords
  • react monaco-editor findWithArgs
  • How to adjust suggest filter in monaco editor
  • Adding better lua(u) support for a monaco editor
  • How can I get code completition/IntelliSense for library in Monaco editor?
  • Monaco editor decorate range outside of line text
  • Is there a keyboard shortcut of navigate-back-to-previous-location for the Google Apps Script Programming Environment?

Trending Questions

  • UIImageView Frame Doesn't Reflect Constraints
  • Is it possible to use adb commands to click on a view by finding its ID?
  • How to create a new web character symbol recognizable by html/javascript?
  • Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
  • Heap Gives Page Fault
  • Connect ffmpeg to Visual Studio 2008
  • Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
  • How to avoid default initialization of objects in std::vector?
  • second argument of the command line arguments in a format other than char** argv or char* argv[]
  • How to improve efficiency of algorithm which generates next lexicographic permutation?
  • Navigating to the another actvity app getting crash in android
  • How to read the particular message format in android and store in sqlite database?
  • Resetting inventory status after order is cancelled
  • Efficiently compute powers of X in SSE/AVX
  • Insert into an external database using ajax and php : POST 500 (Internal Server Error)

Popular # Hahtags

javascript python java c# php android html jquery c++ css ios sql mysql r reactjs

Popular Questions

  • How do I undo the most recent local commits in Git?
  • How can I remove a specific item from an array in JavaScript?
  • How do I delete a Git branch locally and remotely?
  • Find all files containing a specific text (string) on Linux?
  • How do I revert a Git repository to a previous commit?
  • How do I create an HTML button that acts like a link?
  • How do I check out a remote Git branch?
  • How do I force "git pull" to overwrite local files?
  • How do I list all files of a directory?
  • How to check whether a string contains a substring in JavaScript?
  • How do I redirect to another webpage?
  • How can I iterate over rows in a Pandas DataFrame?
  • How do I convert a String to an int in Java?
  • Does Python have a string 'contains' substring method?
  • How do I check if a string contains a specific word?
.

Copyright © 2021 Jogjafile Inc.

  • Disclaimer
  • Privacy
  • TOS
  • Homegardensmart
  • Math
  • Aftereffectstemplates