-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LineNumber property #35
Comments
Currently, C# LineNumbers property is just a string, but it can be a function as well in JavaScript. I'll figure out a way to achieve the same thing in C# and publish a new version of BlazorMonaco this weekend. |
Any news on this subject? |
Sorry. I couldn't find time for this yet. But I see this as a priority item for this repo. I'll solve it asap. |
I've added support for this in v2.1.0. Just set the LineNumbersLambda property of the construction options to a lambda and it will be called by the editor when needed. |
Hi @serdarciplak and thanks for the attention. I was testing, and when using the the new property LineNumbersLambda when the page loads the components, it throws the following: My project runs on blazor-server-side, this functionality should be supported in this model? |
I haven't tested it on a server-side app. I'll check it out. |
Did you manage to take the test? |
Hi, i'm trying to "bind" two editors together, this just means that the last "line number" of the first editor will become the first linenumber of the second editor, just to allow me to have a "read only" area on the "editor"
should this work? knowing that most of this will run as "interop"
a code very "similiar" will run on the "playground" without issues.
looking at the "create" function used in the JsInterop File, maybe that the function is being set as a "string".
am i doing something wrong?
The text was updated successfully, but these errors were encountered: