The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Developer > Omni Frameworks
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Quick question on Text Editor Thread Tools Search this Thread Display Modes
I'm getting these errors when I run the Text Editor sample. I couldn't find SampleNames when I search the project files:

Localizable string "Hello" not found in strings table "SampleNames" of bundle CFBundle 0x6817440 </Users/username/Library/Application Support/iPhone Simulator/4.2/Applications/6E3D02B5-4977-4C2A-90E1-9177C915A476/TextEditor.app> (executable, loaded).
2011-03-17 06:58:14.025 TextEditor[2955:207] Localizable string "Midsummer" not found in strings table "SampleNames" of bundle CFBundle 0x6817440 </Users/username/Library/Application Support/iPhone Simulator/4.2/Applications/6E3D02B5-4977-4C2A-90E1-9177C915A476/TextEditor.app> (executable, loaded).
2011-03-17 06:58:14.047 TextEditor[2955:5d03] Unable to load preview from file://localhost/Users/username/Library/Application%20Support/iPhone%20Simulator/4.2/Applications/6E3D02B5-4977-4C2A-90E1-9177C915A476/Documents/HELLO.rtf: (null)
2011-03-17 06:58:14.053 TextEditor[2955:1803] Unable to load preview from file://localhost/Users/username/Library/Application%20Support/iPhone%20Simulator/4.2/Applications/6E3D02B5-4977-4C2A-90E1-9177C915A476/Documents/MIDSUMMER.rtf: (null)

Looks OK.. shows two 'Lame RTF Preview screens' and when I touch Hello or Midsummer it opens the document.


Also got this error:
2011-03-17 06:59:23.788 TextEditor[2955:207] Still need to port -[OUIInspector inspectorSizeChanged] at /Users/Shared/username/Products/OmniGroup/Frameworks/OmniUI/iPad/Inspectors/OUIInspector.m:256: Avoid the class check here by adding some API to OUIInspectorPane?


Finally: if I enter 3 or 4 blank lines, if I click on one of those lines, it doesn't go there. I can double-tap it, and it selects all of the blank lines. I can navigate the cursor using the arrow keys in simulator, but don't have arrow keys on the iPad to do it.

Thanks!

Thanks!

Last edited by RandomTask; 2011-03-17 at 04:41 AM..
 
Update: I think the first issue is a placeholder for preview code.

For the second issue: you can comment out that line if you don't need to do anything for that event. I'm not sure what was triggering it.

Finally: looks like the cursor issue is a known issue: text that I enter past the "window" that requires scrolling is hard to "get to". I can see it but can't edit it or scroll to it when editing.

Related issue: I can create new Docs and Hello.rtf opens OK, but Midsummer does not load. It shows up OK in XCode in the project.

Error is: ASSERT failed: requires 'ctx->fromView.hidden == YES', at /Users/Shared/username/Products/OmniGroup/Frameworks/OmniUI/iPad/OUIToolbarViewController.m:303

looks like it fails to hide the view, and in the App, the view does fail to hide... the cursor moves around the document and keyboard shows as if the document is displayed (behind the view that was not hidden correctly)

Good code so far! Thanks for sharing.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Should I start with the Text Editor example? gopi Omni Frameworks 4 2010-09-14 10:28 PM
Text Editor inspector welsh11 Omni Frameworks 2 2010-08-04 11:04 AM
Rich text editor for forums Stashie OmniWeb Feature Requests 1 2006-10-24 12:44 PM
External editor for text fields jem OmniWeb General 1 2006-10-13 09:17 PM
Zoomed Text Editor Top jwa OmniWeb Bug Reports 1 2006-08-08 09:38 PM


All times are GMT -8. The time now is 03:10 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.