02-07-2013 08:43 AM
I couldn't found any sample that shows how to use WebView as replacement for TextArea (TextArea can't handle large amounts of text, over 1k lines) but I loaded 10k+ lines file to webview and it rocks, scrolling is smooth, no lags or friezes. But I couldn't find anything that relates to text editing, text reflow when it is zoomed(as done in words to go BB10 app), getting text changes etc
Any tips are greatly appreciated.
02-08-2013 02:34 PM
02-14-2013 06:26 PM
You can enable editing in a WebView by putting a <div contenteditable="true"> in the HTML content, for example:
<html>
<div contenteditable="true" style="background-color:#eee9e9;height:1015px;widt
</div>
</html>
See https://developer.mozilla.org/en-US/docs/HTML/Cont