mbien opened a new pull request, #6679:
URL: https://github.com/apache/netbeans/pull/6679

    - adds another boolean to control if caret positioning should scroll (for 
`sendCaretToPos` and `sendCaretToLine` in `AbstractOutputPane`)
    - calls it with `false` on link clicks (in `OutputTab:lineClicked`), 
overloaded method default remains `true`
    - adds `@Override` to the hierarchy to be able to safely make changes. This 
also exposed duplicated/dead code which was removed
    - luckily its all internal API
   
   run test snippet to create some links and click on them:
   ```java
   public class Mavenproject2 {
       public static void main(String[] args) {
           System.out.println(Runtime.version().major()); // <- linked 
deprecation warning
           throw new RuntimeException("click on stack"); // <- stack trace
       }
   }
   ```
   


-- 
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

Reply via email to