jcs
/textview
/amendments
Amendments on October 24, 2024
jcs made amendment
35
over 2 years ago
Amendments on October 22, 2024
jcs made amendment
34
over 2 years ago
Implement TVResize
Track last space globally so we can move back beyond chunk boundaries
jcs made amendment
32
over 2 years ago
Amendments on October 21, 2024
jcs made amendment
31
over 2 years ago
jcs made amendment
30
over 2 years ago
jcs made amendment
29
over 2 years ago
jcs made amendment
28
over 2 years ago
Amendments on October 18, 2024
jcs made amendment
27
over 2 years ago
Fix some bugs, use Boolean instead of bool to avoid carrying stdint.h
Fix SET_CHUNKPTR_OFFSET mask
Properly draw multiple chunks on one line
Update cur_style properly
canvas is a pointer now so pass it to ClosePort properly
Don't modify view on creation to match bounds like TextEdit does
jcs made amendment
25
over 2 years ago
Amendments on October 17, 2024
jcs made amendment
24
over 2 years ago
Better error propagation, shorter DrawText loop, fix canvas disappearing
THINK Reference has a note in the OpenPort documentation that says
to not use a Handle for the GrafPort because it could move addresses
between being opened and closed and get lost. Since we were putting
it in the main TVRec which is a Handle and could move, our canvas
could get lost, which is why it was disappearing under heavy memory
pressure and drawing seemed to have no effect.
jcs made amendment
22
over 2 years ago
Amendments on October 16, 2024
jcs made amendment
21
over 2 years ago
jcs made amendment
20
over 2 years ago
Amendments on October 15, 2024
jcs made amendment
19
over 2 years ago
Amendments on October 14, 2024
Combine both rewrites and use a list of shallow lines
Quickly recalculate line numbers and rects, then redraw the ones that
need drawing in the canvas.
Amendments on October 11, 2024
Rewrite #2: Store all text in text slabs
Chunks just retain style and text span information. This will be
easier to resize since storing text in chunks would have to shuffle
everything around.
Amendments on October 10, 2024
jcs made amendment
16
over 2 years ago