jjazzboss opened a new issue, #6857:
URL: https://github.com/apache/netbeans/issues/6857
### Apache NetBeans version
Apache NetBeans 20 release candidate
### What happened
NB 20.
Was coding, tried to type ";" in the middle of a java lambda with enclosing
{}, but caret automatically jumps to the end of the line and inserts ";" at
wrong position.
### How to reproduce
Paste this code in IDE. Put caret just before "}" on the .filter line, type
';'.
Workaround: problem does not happen if the last "}" is on the next line.
```
public static void main(String[] args)
{
Pattern P_SHARP_SPT = Pattern.compile("#(\\w+)\\s+(.*)");
String s = Arrays.asList(args).stream()
.filter(l -> {var m=P_SHARP_SPT.matcher(l); return
m.matches() && m.group(1).equals(spt.getName()) } )
.findAny()
.orElse(null);
}
```
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
WIN11
### JDK
JDK 17 x64 Adoptium
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists