8000 Fixed example indents · SnipMeDev/Highlights@d970e4b · GitHub
[go: up one dir, main page]

Skip to content

Commit d970e4b

Browse files
committed
Fixed example indents
1 parent 97209f2 commit d970e4b

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ gradle-app.setting
2929
# JDT-specific (Eclipse Java Development Tools)
3030
.classpath
3131
# MacOS files
32-
*.DS_Store
32+
*.DS_Store

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@ Highlights.default().apply {
5252
There is also a possibility to handle result asynchronously
5353

5454
```kotlin
55-
highlights.getHighlightsAsync(
56-
object : DefaultHighlightsResultListener() {
57-
// onStart
58-
// onError
59-
// onCancel
60-
override fun onComplete(highlights: List<CodeHighlight>) {
61-
emitResult(highlights)
62-
}
55+
highlights.getHighlightsAsync(
56+
object : DefaultHighlightsResultListener() {
57+
// onStart
58+
// onError
59+
// onCancel
60+
override fun onComplete(highlights: List<CodeHighlight>) {
61+
emitResult(highlights)
6362
}
64-
)
63+
}
64+
)
6565
```
6666

6767
You can also set language, theme and phrase emphasis.
@@ -319,7 +319,7 @@ If your project uses this code, please write me or add your info
319319

320320
## TODO 🚧
321321
- [X] Migrate some lists to sets
322-
- [ ] Optimize code analysis
322+
- [X] Optimize code analysis
323323
- [ ] Add more themes and languages
324324
- [ ] Support italic and underline text style
325325

0 commit comments

Comments
 (0)
0