Comments (3)
After reading comments in TextAnalyzeResult.java, I found that I should call colors.determine() after the analysis is done.
But it's result is same as colors.add();
from sora-editor.
Watch your switch block. Did you forget to add a default case to change your colors?
The position of Span records the beginning of it and the span will extend util next Span' start position(or the end of document).
from sora-editor.
Oh. Yes. I forgot it. And sorry. I didn't read your analyzer carefully.
Thanks
from sora-editor.
Related Issues (20)
- [Question]: How to Use in project by Source Code HOT 2
- How to use styles
- Desktop Support ? HOT 4
- [Refactor]: Rename `AnalyzeManager` to `AnalysisManager` HOT 2
- SDK 24 HOT 1
- TM4E copyright/license headers changed HOT 1
- [Bug] Sticky lines are shown above pinned line numbers
- Add support for clickable spans HOT 2
- Crash due to code editor : java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 HOT 2
- Crash due to editor : java.lang.IllegalArgumentException: Not a valid Unicode code point: 0x800002C6 HOT 1
- Language pack for popular languages
- Refactor the language-textmate module with Kotlin?
- Crash HOT 13
- Enhance Pressing Down Logic of Selection Handle
- [Refactor] Editor Cache and Fields in `ContentLine`
- [Feature] Implement shallow copy and thread-safe shared data in `Content`
- Crash when reuse CodeEditor and Content object HOT 1
- Crash when settingText with less lines than previous Text HOT 2
- Crash when search thread running HOT 3
- Support Live Templates HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sora-editor.