报告 Mou 小 Bug 一枚

2012-05-09 11:50:46 +08:00
 icyleaf
首先非常感谢 @chenluois 童鞋的成果,现在几乎所有的文档都是用 Mou 完成的 :D

其实这个 Bug 不是非常严重,当在编辑 List 的时候,Mou 贴心的辅助在下一个起始添加 * 符号,这个是回车触发的,假如两次连续回车,就会报 Crash 的错误。



选择 Continue 还可以正常使用,再次重复 Crash 操作却又没有问题了,同时在尝试新编辑一个 List 尝试 Crash 操作有时候会报异常,有时候有很正常。
4539 次点击
所在节点    Markdown
2 条回复
chenluois
2012-05-09 12:03:49 +08:00
收到。我测试了一下,可是在 Mou 0.7.1, Mac OS X 10.7.3 上无法重现。
你用的啥系统,难道是 Mountain Lion Developer Preview?
icyleaf
2012-05-09 12:21:10 +08:00
擦,忘记留环境了,版本和环境都是一样,下面是堆栈:

Exception Name: NSRangeException
Description: *** -[NSBigMutableString substringWithRange:]: Range or index out of bounds
User Info: (null)

0 CoreFoundation 0x00007fff98467fc6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff989fed5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff98467dfa +[NSException raise:format:arguments:] + 106
3 CoreFoundation 0x00007fff98467d84 +[NSException raise:format:] + 116
4 Foundation 0x00007fff96e5ac20 -[NSString substringWithRange:] + 173
5 AppKit 0x00007fff8dbef93f -[NSTextStorage(NSUndo) _undoRedoAttributedSubstringFromRange:] + 144
6 AppKit 0x00007fff8dbf0598 -[NSUndoTyping initWithAffectedRange:layoutManager:undoManager:replacementRange:] + 181
7 AppKit 0x00007fff8dc20b05 -[NSTextViewSharedData coalesceInTextView:affectedRange:replacementRange:] + 435
8 AppKit 0x00007fff8dc4a9fb -[NSTextView(NSSharing) shouldChangeTextInRanges:replacementStrings:] + 1724
9 AppKit 0x00007fff8dc47b80 -[NSTextView(NSSharing) shouldChangeTextInRange:replacementString:] + 104
10 AppKit 0x00007fff8dc18a8f -[NSTextView insertText:replacementRange:] + 561
11 AppKit 0x00007fff8dc18851 -[NSTextView insertText:] + 320
12 AppKit 0x00007fff8dc26ffe -[NSTextView(NSKeyBindingCommands) insertNewline:] + 537
13 CoreFoundation 0x00007fff9845775d -[NSObject performSelector:withObject:] + 61
14 AppKit 0x00007fff8db41659 -[NSResponder doCommandBySelector:] + 62
15 AppKit 0x00007fff8dc1c6ce -[NSTextView doCommandBySelector:] + 198
16 AppKit 0x00007fff8da75c93 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] + 1799
17 AppKit 0x00007fff8ddc9382 -[NSTextInputContext handleEvent:] + 747
18 AppKit 0x00007fff8dc93d2a -[NSView interpretKeyEvents:] + 248
19 AppKit 0x00007fff8dc0ca25 -[NSTextView keyDown:] + 691
20 AppKit 0x00007fff8d6eab44 -[NSWindow sendEvent:] + 7430
21 AppKit 0x00007fff8d68316d -[NSApplication sendEvent:] + 5593
22 AppKit 0x00007fff8d6191f2 -[NSApplication run] + 555
23 AppKit 0x00007fff8d897b88 NSApplicationMain + 867
24 Mou 0x000000010b281b24 Mou + 6948

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/35209

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX