Community
Participate
Working Groups
1. Create the following class. 2. Delete the * at the beginning of the block comment. As a result of this change, the entire CU is re-syntax highlighted (i.e., StyledText>>setStyleRange gets called for every token). This is unnecessary and very inefficient in a larger CU. package test; import java.io.*; public class TestClass { /* This is a comment. * with more than one line. * It has three lines. */ public void method1() {}; public void method2() {}; public void method3() {}; public void method4() {}; public void method5() {}; public void method6() {}; public void method7() {}; } Eg (24.07.2001 21:17:18) this worst case only happens when there is a single partition following the change in the file. this is the case in the above scenario, but it is uncommon for typical larger files. KUM pls comment. in the a NOTES: EG (24.07.2001 21:14:45)
PRODUCT VERSION: 125
This has been fixed: we now call replaceStyleRanges exactly once.