Community
Participate
Working Groups
I have a very strange behavior on linux (have not tested windows/mac) with the codeminings. Assume the following line: 1234567890\r\n And this code: > int line = 0; > int offset = document.getLineOffset(line); > int lineLength = document.getLineLength(line); > new Position(offset + lineLength, 1); This results is the code-mining be placed at the end 1234567890\r\n[mining] No I have this line 1234567890\n This results is the code-mining be placed at the *next* line 1234567890\n [mining] If I place the mining between \r\n > new Position(offset + lineLength -1, 1); it is completely invisible!