-
-
In my fork, I disabled html pasting, which causes a crash when the user tries to copy-paste lists.
This is because Aztec might encode a nil-int when performing the `copy`: https://github.com/wordpres…
-
When using TextStorageSystemInterface, initial highlighting works fine. Adding text to the end of the file works fine too. Adding text somewhere else doesn't seem to highlight it.
I did some diggin…
-
This landed with #1910
-
- 应用
- UILabel 与富文本
- 文字排版、电子书
- 图文混排
- 字体
- 框架
- UIKit
- TextKit
- CoreText
-
I am experimenting with some code that is derived directly from the iOS sample code.
I am using a custom tree-sitter grammar I am building for the [ABC music notation](https://abcnotation.com).
For …
-
`filterpos`
will have to specify which POS's to keep.
will probably need a helper function to output all POS codes and their meanings.
-
The `Modifying() { }` construct always evaluates even if the block is empty.
With TextKit integration, this means
1. an undo group is being started (and ended)
2. `NSTextView.shouldChangeText(…
-
What the title says, really. TextViewPlus makes all kinds of calls to the `layoutManager`, which will assert in Debug, and return a nil value in Release, when used on a BaseTextView. This will cause t…
-
Hello,
My file `test.md` contains
```
Hello!
À bientôt
```
I can't read it: `textkit text2words test.md`
without a BOM: I get `UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in…