Dominique Bauer

Results 42 comments of Dominique Bauer

> There's however one case left that I haven't covered yet: semicolons can also appear in strings or comments. You're right again! Luckily, finding ';' within quotes shouldn't be too...

I think the following would be a good approach: - Show the line numbers, not the statement numbers, next to the variables field. This is what is usually done and...

Hello Philipp, I think we could aim for something like shown below. This could be achieved very simply by just numbering the lines and highlighting the row where there is...

Hello Philipp, In fact, I didn't think you would attack this issue so soon. The situation is not critical since we can do pretty much what we want with the...

Hello Philipp, Avi's suggestion of "Add an option to specify the size of the input field", I presume the answer boxes, is something that should be done. There are a...

Line numbers would have no use except being pretty. If your are comfortable with statement numbers, then let's go for them. Highlighting the statement numbers in the gutter is fine...

In fact, in addition to being pretty, line numbers also serve as a reference. For example, I can ask you to check line 53, whether it is a line of...

> This can be done by creating a <div> with contenteditable=true. (That's what I did.) Philipp, Do you intend to actually use <div contenteditable="true">?

If you are using <div contenteditable="true">, here is an easy way to highlight any given line: https://jsfiddle.net/d_bauer/sgw5yqd1/56/ The fiddle works in Chrome, Firefox, Edge.

The previous fiddle transforms the textarea into a div contenteditable. I think it works fine. The following fiddle uses a div behind the textarea to highlight a given line. The...