daboe01
1af7d01d96
fix of resizing regression
2014-09-15 18:20:53 +02:00
daboe01
66c6938df0
changed selection drawing from canvas to DOM
...
fixes height limitation, is faster and looks better
2014-09-14 21:24:23 +02:00
daboe01
bb9fb04788
make triple clicks behave more apple like
2014-09-13 20:24:27 +02:00
daboe01
f5cf2b2b55
fix selecting last character
2014-09-13 20:13:08 +02:00
daboe01
43169ced69
fix of the fix
2014-09-11 10:45:27 +02:00
daboe01
708844857d
make canvas sizing detection more robust
2014-09-11 10:22:50 +02:00
daboe01
ce777348b3
cursor up/down+ frames protection
2014-08-20 23:09:53 +02:00
daboe01
c052325487
various fixes and cleanup
2014-08-20 22:39:15 +02:00
daboe01
ce69410f49
revert of breaking change wrt backspace
2014-08-14 18:21:53 +02:00
daboe01
5f0be0cc7f
make storage length zero more tolerant
2014-08-14 14:14:49 +02:00
Andrew Hankinson
dca6347ea9
Fixed: Remove lingering references to i
...
Refs 75e347e8e3
2014-08-14 07:19:53 -04:00
daboe01
94c4db9072
fixed equality operator
2014-08-14 07:17:00 +02:00
Andrew Hankinson
7f63be2cd2
Formatting: Make if statement more readable
...
The if statement had a lot of sub-clauses. These were factored out into variable assignments.
2014-08-13 19:56:50 -04:00
Andrew Hankinson
1236dea4c5
Fixed: equality operators
2014-08-13 19:47:06 -04:00
Andrew Hankinson
c5c46df613
Fixed: typo
2014-08-13 19:44:23 -04:00
Andrew Hankinson
75e347e8e3
Fixed: obscure use of variables
...
Previously, the counting variable "i" was used as a variable throughout this method, leading to the value of 'i' becoming unclear as the method progressed.
Additionally, a later loop in this method redeclared 'i', providing more confusion.
This commit renames 'i' to the more descriptive 'targetLine' and uses that in its place. The redeclared value of 'i' was also renamed to "newTargetLine".
2014-08-13 18:15:58 -04:00
daboe01
d641cc5057
fix fussy optimization
2014-08-14 00:12:02 +02:00
daboe01
cf64145ff3
formatting
2014-08-12 16:06:49 +02:00
daboe01
195eca6b09
typesetter early exit in flushing fix
2014-08-12 15:48:31 +02:00
daboe01
b0ef077e48
fix typesetter nil bug
2014-08-12 15:12:19 +02:00
daboe01
e40a698d1a
fixed accessor
2014-08-12 10:37:05 +02:00
daboe01
69c34b1b27
formatting
2014-08-12 08:33:28 +02:00
daboe01
4700c2583d
fix acessor names
2014-08-12 08:29:28 +02:00
daboe01
6cf79a3c73
size should not be smaller than clipview
2014-08-06 13:31:31 +02:00
daboe01
2c110f7796
fixed: display error at bottom in case of resizing
2014-08-06 13:17:35 +02:00
daboe01
aebea0b57f
Update CPTypesetter.j
2014-08-04 13:27:42 +02:00
daboe01
8684455ea5
make canvas sizing validity detection more robust
2014-08-04 13:22:38 +02:00
daboe01
7cbb103376
fix selecting last newline error
2014-07-31 20:35:29 +02:00
daboe01
f5187b1533
_characterRangeForUn...: ternary operator
2014-07-20 11:44:03 +02:00
Alexandre Wilhelm
f13c96839e
Fixed synthax in CPTextView
2014-07-19 19:07:08 -07:00
Alexandre Wilhelm
776f68c9dd
Fixed style in CPTextView
2014-07-19 18:46:25 -07:00
daboe01
f1adf24f3b
make the plain look as white as in cocoa
2014-06-04 18:34:46 +02:00
Alexandre Wilhelm
075da34cdb
Fixed: circular import with CPText
...
Previously CPText was in CPTextView.j, now it is in CPText.j.
It fixes some other circular import as well, fixes some global var to import.
Fixed some code style.
2014-06-03 21:05:04 -07:00
daboe01
5ce543002d
fix cut with empty selection
2014-06-02 20:39:53 +02:00
Alexandre Wilhelm
700b1c50af
Fixed: refactoring delegate methods
2014-05-30 12:27:43 -07:00
Alexandre Wilhelm
9e1c363a0a
Fixed: changed a bit the readability of the file
2014-05-30 12:04:51 -07:00
Alexandre Wilhelm
bbe3065f19
Merge branch 'NEW--CPTextView' of https://github.com/daboe01/cappuccino into NEW--CPTextView
2014-05-30 11:37:50 -07:00
Alexandre Wilhelm
1716a0ebca
New: Added protocol CPTextViewDelegate
2014-05-30 11:37:37 -07:00
daboe01
ed66339e94
corrected inheritance
2014-05-30 20:36:14 +02:00
Alexandre Wilhelm
c6fd14afd2
Fixed: capp_lint
2014-05-30 11:12:29 -07:00
Alexandre Wilhelm
27ed9ca7fd
Merge branch 'NEW--CPTextView' of https://github.com/daboe01/cappuccino into NEW--CPTextView
2014-05-30 10:58:29 -07:00
Alexandre Wilhelm
50fda906bd
Fixed: CPLog.error is used instead of abstract exception
2014-05-30 10:49:10 -07:00
daboe01
6c7c60037b
next try
2014-05-30 19:44:37 +02:00
daboe01
91a429ea77
another try
2014-05-30 19:19:15 +02:00
daboe01
2dbe01e90a
more dom protection
2014-05-30 18:52:00 +02:00
daboe01
3d7dd41223
dom projection
2014-05-30 17:17:28 +02:00
daboe01
91495c8595
more dom protection
2014-05-29 20:37:27 +02:00
daboe01
c3e997168a
protecting document access with PLATFORM(DOM)
2014-05-29 20:31:55 +02:00
daboe01
c3e6f4f7b6
automated tests and cleanup
2014-05-29 16:27:07 +02:00
daboe01
e600ec95ed
font panel fix
2014-05-25 09:27:54 +02:00