cptextview's People
cptextview's Issues
"Caret" is misspelled
In CPTextView the word "Caret" is misspelled as "Carret".
As well, a "Caret" is a specific symbol: ^. Should this be named "cursor"?
placing cursor in the second last line moves to last if second last one is empty
CPTextView setValue missing data type
The setValue argument is missing a data type.
Style is inherited from previous character
The style seems to be inherited from the previous characters when inserting or changing a selection.
I can't see this behavior in Cocoa.
To reproduce this just position the caret to the second line in the demo view. Or select the first word on the second line and start typing. The characters becomes red.
<cr> not supported
pasting beeps in safari. native pasting broken in safari
try to work around by temporarily set the contenteditable flag?
word/paragraph boundaries should be calculated by a context sensitive regex engine
and not only on the basis of a simple character array
RTF roundtrip eats curly braces
tripel-clicking right to the newline character does not select whole line
double clicking is ok, though
second last character selected when clicking in the last line right to the last character
work when clicking below the last line
justified text is not supported
use the same mechanisms for variable width whitespace as in tabstops
CPTextView undo and redo arguments missing data types
The sender
argument of CPTextView:undo and redo is missing a data type.
drag-scrolling crashes the browser under very obscure circumstances
CRITICAL: fix all the remaining keyboard issues
CRITICAL: plaintext configuration untested
CRITICAL: deleting a series of newlines fails to trigger rescue
performance is substantially poorer in chrome than in safari or FF
CPParagraphStyle indentation is ignored
selection redrawing issue when crossing newlines with shift-arrowkeys
selection does not draw on large text
there is a canvas size limit.
http://stackoverflow.com/questions/6081483/maximum-size-of-a-canvas-element
we need to rework selection drawing to DOM.
CRITICAL: typingAttributes cannot be set with the fontpanel
_isNewlineCharacter vs. regex based granularity engine
try to get rid of _isNewlineCharacter and generate a string for testing in +initialize based on the regex instead
CRITICAL: newline a end of document does not properly scoll down
i think we need to fiddle around with an extra line segement
context menu is not disabled on the spans
multiple newlines break drag scrolling
cursor should not blink when browser loses focus
pasting rich text does not work in chrome/FF
proper baseline-alignment
(hint: collect heights in the same way as the advancements)
CPParagraphStyle is currently basically a stub
we urgently need support for spacing information as well as tab stops
When clicking on a letter, it always places the caret to the left of the letter.
The caret should be placed to the right of the letter if the click point is >50% width of the letter.
mutliple newlines fail to trigger the rescue operation
we need to thoroughly debug the rescue check. we have to ensure that no 'false positives' are possible.
implement smart copy/paste
delete/insert additional whitespace in case the selection was constructed with double/tripel clicks
_CPLineFragment createDOMElementWithText... is missing return type
~ line 152 in CPLayoutManager.j
It is also missing data types for the arguments
_CPLineFragment isVisuallyIdenticalToFragment missing data type
~ line 317 in CPLayoutManager.j
fontpanel: handle multiple selection properly
instead of setting only the new attrib (all bolds in current selection should e.g. become bold italic)
drag-selection after wrap has issues
extending selection via shift clicking is correctly implemented
selection should be grey if not first responder
the textview size is not adopted after inserting newlines
this is due to the new optimization stuff. should be easy to fix.
Running capp_lint gives a number of warnings about deprecated CP types
For example:
CPLayoutManager.j:184: CP types/functions have been deprecated in favor of CG types/functions.
+ _fragmentRect = CPRectMakeZero();
clicking beyond end of lines with tabstops has issues with the selection
_CPLineFragment setAdvancements is missing a data type for the argument
~ Line 218 in CPLayoutManager.j
Is probably a CPArray
implement all the text-navigation methods from CPKeyBinding.j
drag scrolling should be supported by a timer
smart paste inserts blank characters where it should't
don't add when you e.g. paste next to a newline or an opening brace.
multiple text-container setup untested
The RTF parser does not handle fonts properly
undo crash
- select the whole paragraph (with tripel click!)
- type a few chars
- press undo until crash
the textcontainser size should not be changed along with the textview size
When the Font panel is opened, the color is not set to the color of the text...
...if all of the selected text is the same color.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.