Vignesh Prakash
Vignesh Prakash
> Ideas: > > * `onDidChangeCursorPosition` and `onDidChangeCursorSelection`, then force the cursor away from read-only ranges > * `deltaDecorations` to make read-only appear in grey I would like to add...
@LeaVerou Thanks for updating the status of the merge request. > actualContent should probably be called raw, by convention from other parsers As per your suggestion, key names like actualContent...
> includeCommaInList should be a separate PR discussed on its own merit Actually this is required for this stringify API itself. > just stringify each array element and .join(", ")...
> You do not need two stringify functions, one recursive and one that just calls the recursive function. You can do it in the same function. @LeaVerou as per your...
> element.innerHTML or element.style.cssText, JSON.stringify(JSON.parse(obj)), whitespace is not preserved Instead of these APIs, comparing parsel with espree and escodegen will be more relevant comparison > If you want the exact...
> Sure, you want to compare it to JS parsers? Run esprima.parse("var i= [1, \t 2,]") in the console here. You will see that the AST is identical to that...
@GNSubrahmanyam, I think [this](https://dev.to/pranomvignesh/restrict-editable-area-in-monaco-editor-part-2-14jb) post will be useful for you. I have created a way to restrict editable area in monaco-editor. This basically undos the values typed in the restricted...
> it's not really complicated to implement this: > > ```ts > const editor = monaco.editor.create(document.getElementById("container"), { > value: [ > "const readonlyRange = new monaco.Range (10, 0, 15, 0)",...
Hi @juliendelort , I have a doubt in this implementation. What if the length provided in the `rand` function is greater than the available number of entries in the data...
@ateebasif Thanks for [this](https://github.com/shadcn-ui/ui/issues/755#issuecomment-1685303139) solution. This one worked for me