We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I tested with Java, Dart, and Javascript. Javascript was the only one of those languages where the sections didn't work.
I was trying to make the code read-only with controller.readOnlySectionNames = {'section1'};.
controller.readOnlySectionNames = {'section1'};
Dart example:
final controller = CodeController( text: ''' // [START section1] final String test = "testing here"; // [END section1] ''', language: dart, namedSectionParser: const BracketsStartEndNamedSectionParser(), );
Result:
Javascript example:
final controller = CodeController( text: ''' // [START section1] console.log("teste"); // [END section1] ''', language: javascript, namedSectionParser: const BracketsStartEndNamedSectionParser(), );
The text was updated successfully, but these errors were encountered:
I have the same issue
Sorry, something went wrong.
No branches or pull requests
I tested with Java, Dart, and Javascript. Javascript was the only one of those languages where the sections didn't work.
I was trying to make the code read-only with
controller.readOnlySectionNames = {'section1'};
.Dart example:
Result:
![Screenshot from 2023-07-25 20-53-40](https://private-user-images.githubusercontent.com/47436525/256063584-4179f708-c88e-42ab-aacd-fdb488d3eaf7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDc0MDksIm5iZiI6MTczOTM0NzEwOSwicGF0aCI6Ii80NzQzNjUyNS8yNTYwNjM1ODQtNDE3OWY3MDgtYzg4ZS00MmFiLWFhY2QtZmRiNDg4ZDNlYWY3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA3NTgyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdkNTNlNmM5MTU3ODM5ZjJjZWM0YzBmNTc3ZGVkZDgxOTcwMTM0Y2FhODAxZWYyY2I5Y2E1NGQzZjgwYTBmZTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.e-MdFr6nDzX3V_YIJDQQrh6IrpGYiSQhxfhtJkUFaoo)
Javascript example:
Result:
![Screenshot from 2023-07-25 20-52-09](https://private-user-images.githubusercontent.com/47436525/256063444-0152242e-0270-4011-8080-964165f8c509.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDc0MDksIm5iZiI6MTczOTM0NzEwOSwicGF0aCI6Ii80NzQzNjUyNS8yNTYwNjM0NDQtMDE1MjI0MmUtMDI3MC00MDExLTgwODAtOTY0MTY1ZjhjNTA5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA3NTgyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVhMDgwODhjNDI3MmVlOTA5NmFmMjQwM2UxYTk1M2QxYmY0YzBlMDhkOWRlOWUyODBjZjRjZmY2ZTQwMmU4YzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.SlrbVrCs9PMgwIEo0V15e2d_z4Xd_iQRak9Zmhex2k4)
The text was updated successfully, but these errors were encountered: