Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create reusable editor component #23

Closed
nazmulidris opened this issue Aug 12, 2022 · 1 comment
Closed

Create reusable editor component #23

nazmulidris opened this issue Aug 12, 2022 · 1 comment

Comments

@nazmulidris
Copy link
Member

nazmulidris commented Aug 12, 2022

馃搶 The latest version of this design doc is in the repo here

@nazmulidris nazmulidris added the enhancement New feature or request label Aug 12, 2022
@nazmulidris nazmulidris changed the title Create editor component Create editor component (design document) Aug 14, 2022
@nazmulidris nazmulidris changed the title Create editor component (design document) Create editor component Aug 14, 2022
@nazmulidris nazmulidris added the dd label Aug 14, 2022
@nazmulidris nazmulidris transferred this issue from another repository Aug 29, 2022
@nazmulidris nazmulidris changed the title Create editor component Create reusable editor component Aug 29, 2022
nazmulidris added a commit that referenced this issue Aug 31, 2022
Stub out the implementation of the editor engine. The editor still
needs to be built (and when that commit lands it will close issue #23).

Related to #23

However, this allows integration w/ the editor component in r3bl-cmdr here:
r3bl-org/r3bl-cmdr@d1f7d7f
nazmulidris added a commit that referenced this issue Aug 31, 2022
Stub out the implementation of the editor engine. The editor still
needs to be built (and when that commit lands it will close issue #23).

Related to #23

However, this allows integration w/ the editor component in r3bl-cmdr here:
r3bl-org/r3bl-cmdr@d1f7d7f
@nazmulidris
Copy link
Member Author

nazmulidris commented Aug 31, 2022

Add lolcat to EditorBuffer in this commit 3bc1d2d:

  • There are use cases where an editor buffer might need to have a re-usable color wheel for rainbow color effects

nazmulidris added a commit that referenced this issue Aug 31, 2022
Make lolcat instance available to each editor buffer. This ensures
that colorization can happen using the same "color wheel" to get
gradients that are related to each other (each step to the next
color is strongly related to the previous).

Add serde support, and related to it, f64 comparison support for
Lolcat.

Related to #23
nazmulidris added a commit that referenced this issue Aug 31, 2022
Make lolcat instance available to each editor buffer. This ensures
that colorization can happen using the same "color wheel" to get
gradients that are related to each other (each step to the next
color is strongly related to the previous).

Add serde support, and related to it, f64 comparison support for
Lolcat.

Related to #23
nazmulidris added a commit that referenced this issue Aug 31, 2022
Make lolcat instance available to each editor buffer. This ensures
that colorization can happen using the same "color wheel" to get
gradients that are related to each other (each step to the next
color is strongly related to the previous).

Add serde support, and related to it, f64 comparison support for
Lolcat.

Related to #23
nazmulidris added a commit that referenced this issue Sep 2, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
#23
nazmulidris added a commit that referenced this issue Sep 2, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
#23
nazmulidris added a commit that referenced this issue Sep 2, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
#23
nazmulidris added a commit that referenced this issue Sep 2, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
#23
nazmulidris added a commit that referenced this issue Sep 2, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
#23
nazmulidris added a commit that referenced this issue Sep 2, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
#23
nazmulidris added a commit that referenced this issue Sep 2, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
#23
nazmulidris added a commit that referenced this issue Sep 2, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
#23
nazmulidris added a commit that referenced this issue Sep 2, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
#23
nazmulidris added a commit that referenced this issue Sep 2, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
#23
nazmulidris added a commit that referenced this issue Sep 3, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
#23
nazmulidris added a commit that referenced this issue Sep 3, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
#23
nazmulidris added a commit that referenced this issue Sep 3, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
- #23
- #30
nazmulidris added a commit that referenced this issue Sep 3, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
- #23
- #30
nazmulidris added a commit that referenced this issue Sep 3, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
- #23
- #30
nazmulidris added a commit that referenced this issue Sep 3, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
- #23
- #30
nazmulidris added a commit that referenced this issue Sep 3, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
- #23
- #30
nazmulidris added a commit that referenced this issue Sep 3, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros

Here's the design doc for this feature:
- #23
- #30
nazmulidris added a commit that referenced this issue Sep 3, 2022
Caret
  - Add TWCommand to show & set caret (GlobalCursor)
  - Add support for LocalPaintedEffect caret
TWCommandQueue
  - add macro to make it easy to join and drop other queues into one
Position
  - add methods to check for bounds when adding rows and cols
Unicode
  - Vec<GraphemeClusterSegment> to / from String
Debug
  - Add GetSize derive macro for various structs
Testing
  - Add tests for editor buffer & engine
  - No such thing as visible for testing in integration tests
Ergonomics
  - Add better macro for debug: call_if_debug_true!
Documentation
  - Better code examples for macros
  - Add design doc for editor component

Here's the design doc for this feature:
- #23
- #30
@nazmulidris nazmulidris removed the enhancement New feature or request label Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant