Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/ivanceras/ultron

Web base text editor written in rust
https://github.com/ivanceras/ultron

make the editor cloneable

792b3bf7e5225ecf458308efc00fe7e526bc2d35 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix github ci

a9fbacea05f37042350030229b6b619aa2fb3856 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix script order

7a23e1b3d0c8c7f5488913d1323a654eb1b8002b authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: specify the version in relative path dependencies

efdae485a4ad5d1cd4d617e806740a0997a23354 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix ultron-web Cargo.toml

04d3f63d7e9ff728f5d2c0528a4a881416ad7a6c authored over 1 year ago by Jovansonlee Cesar <[email protected]>
update dep and scripts for publishing

71817cbc7fec415d3f5469b19583e27a47b1cacb authored over 1 year ago by Jovansonlee Cesar <[email protected]>
add a quick changelog for 0.3.0 release

48894386bf79e8661dc7f7dccccab9d8c672f32b authored over 1 year ago by Jovansonlee Cesar <[email protected]>
update deps

148c1acadfb33f5faf75c50ff9475dc7a43a1cc1 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
remove the use of Dispatch and use the Program

20489937e5234a75806da07d3b2201d6a72ef38b authored over 1 year ago by Jovansonlee Cesar <[email protected]>
more improvement on custom_element

3707b722d8c07245c27029bcc9c4aad959ec3677 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
move update up, and view down, enable mouseclick

23cc3c58d7fd4562792ce5a7bae488bfdd251032 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
move style down

bfcb7178377ca61571df11039f85688a4374b9b8 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
remove unused attributes_for_mount method, expose register at the top level lib

87d633eafb4fca2a56f0d7ff377bfbf01196700f authored over 1 year ago by Jovansonlee Cesar <[email protected]>
add support for changing syntax and theme in the ultron-editor custom tag, attributes is now on the attributes module

96bbc9b2cfc36ba9217287b3790690908e071f9d authored over 1 year ago by Jovansonlee Cesar <[email protected]>
add more example usage

0e0fbdf44a89e2ad48c9334d708e578fbdcb498e authored over 1 year ago by Jovansonlee Cesar <[email protected]>
ultron-editor uses value as the source input and content as output for the user to get when input event is triggered

eb52cf339c90eaae6eb0bc577648ade8f30ea309 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
use the value attribute for the text content

cf8e3dc3cfc1b1ce0cce944512addc590718b935 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feature: add an option to allow users to have control of the app embedding the editor and the keypresses is controlled in the application

95533e97bbfac29ae77e409da1aa0236e0fbeb85 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix tests

6be0edc661103c0733d19fb2a7ec45b6a787eb5a authored over 1 year ago by Jovansonlee Cesar <[email protected]>
use Point2<usize> for almost everything where loc/cursor is used as argument

cf26276da4802c08a5c54b2aab53b689ba83420f authored over 1 year ago by Jovansonlee Cesar <[email protected]>
add a simple usage of ultron-editor via custom tag

5d1d8bc11653aafbc0b5e6396522f65ef2fc4bb8 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
simplify the README

e25acab4c9d2a3f70c1577cc92ebc7b1310ae1e7 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
simplify register_custom_element call

c018399805a2d306c9d6da46ba385d8373ccda3e authored over 1 year ago by Jovansonlee Cesar <[email protected]>
add an Msg to explicitly set focus on the editor

2c8a59b7c7f3fc44ac7f9f61e7e6817f88fd1164 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
move custom_element code into custom_element module

53304e08ca1f3518f98b0c1cd6e6a04695ce8cb2 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
make the editor only occupy the height depending on the content size

25c0068148300c525a697d13f8631653a3e37407 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
put back rehighlight_all when there is no visible lines, add options to enable/disable context menu

7570364925adf4e1924c6d236f30d88ebf48e02d authored over 1 year ago by Jovansonlee Cesar <[email protected]>
make WebEditor a custom element

e6ec0d90e5b6bb6d3a5f369a4187fa65a119a1c2 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
modularize, show only cursor when the web_editor is focused

f383a8faca396a64792fd860ef0c35ba1e4f9cdf authored over 1 year ago by Jovansonlee Cesar <[email protected]>
remove unused function, add rehighlighting behind flag checks

f9320f7972e0baca0917f12c7d585aa41597064b authored over 1 year ago by Jovansonlee Cesar <[email protected]>
cargo fmt

63327fec207aff3d22194e842ef437b837bd05b9 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
add code to implement running highlighting to the rest of the non visible lines in the background

dc870cf68f6865ac61739a533ac9952ba419d2f3 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
add deploy to alpha

533eb6aee68ec1572850956609538a5c83e5774a authored over 1 year ago by Jovansonlee Cesar <[email protected]>
insert the fast visual feedback character at the exact location in the range

e27af833494ff40523b07ae1fd5527588667cdb1 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
performance improvement, by inserting the newly typed character into the closes range of the cursor position, this will then be corrected with the proper syntax highlighter

42bc67b9d1d7d1be885c6dfcae5c983dde1b7fc2 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
put the callback in a feature gate for clients that can not use the callback, such as the bevy client

9e0927ae9f6082e1bbae09e8a41a54ae0b08f31c authored over 1 year ago by Jovansonlee Cesar <[email protected]>
add comparison benchmark against ropey

ea6c3da0f1cafa114b9c3edf6338255ae123bfc9 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix ultron-ssg imports from sauron

72d468660e96f3c6c1deb9510a753732b893b55d authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix to the newest sauron version

bda9e0ff7ce0e43c4c7ecfbbc07bca4ede5e5b8a authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: remove bounds checking when interacting with mouse

a7b9131f0a4d16958619b82d192580218f2ca177 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
refactor: optimize from_ch function to accept reference, to prevent cloning of vecs

a0da1ddc1456e4aaced61e1828213f97891bfa3d authored over 1 year ago by Jovansonlee Cesar <[email protected]>
refactor: rename variants of SelectionSplits into more descriptive names

4193699bcdf1dc993e6f5f1a67f9aa2018a0fb36 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
cargo clippy --fix

146cacfed89d887883b7259baf29a60fbcc0960d authored over 1 year ago by Jovansonlee Cesar <[email protected]>
cargo fmt

9251344619e49e090721fe14c3db019a39a5383b authored over 1 year ago by Jovansonlee Cesar <[email protected]>
refactor: move important objects on the top

31e58df449dc5e789e6df732f8e266df55c0ba60 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: remove debugging color

0bdd412feead1becb7ea5a4b198cfbf4d0828fcc authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: use reorder when in linear mode

af834da075844773f4bbb0250e1e81aa9775b636 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: bug in selection with no syntax highlighting where the selection points are normalized instead of reorder

221ddf5aa0645c0462787895946eed10ad016c4f authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: proper way to reorder selection points where the point coordinate is not decoupled from each other

0b10c953d34834db4c0e57bf863a6d7ed4bc785e authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: add more edgecase of selection

59821e7719274cb7e1f5154840cce52c226a94f4 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
improvement on the selection on highlighted algorithm

52b6f9403784726e3ee8f62ba79fe746d2d4ef84 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: add an optimize constructor for text_buffer from Ch

146bb000c4b5fb6645dda10c91eff56bd969b602 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
more improvements

aff92c2c8d5c4006e654298e6e6045380b6eddd9 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
docs: add TODO item

9ecc1a66d45897ef919f71aedb515c9c9291054f authored over 1 year ago by Jovansonlee Cesar <[email protected]>
refactor: improve naming of variables

92ba71e58fc8e54e9cb98c706eb43d0654cfd869 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
add more test, debug the Selection splits with highlight

5373ce1d54d375f205b1185dcd599f0efddac661 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix tests

ff451ba6329733872895cfd6523ab32061e8a24d authored over 1 year ago by Jovansonlee Cesar <[email protected]>
refactor: use SelectionSplits in viewing the highlighted lines

2e24affb95d4e7559b2d9ae9a6824486689912c1 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: remove unused logging

75208f53db11bf4e299c648dab4445dba638e836 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
refactor: move the statements to where they are only used, rename variables to more concise name

bbb1a8a0093cada094a03d8d6ef6c49d69023b6a authored over 1 year ago by Jovansonlee Cesar <[email protected]>
refactor: move out SelectionSplits out of the function and as module enum

8543a723eda5d1e9104651e4217a09e274688c0d authored over 1 year ago by Jovansonlee Cesar <[email protected]>
cargo clippy fix

456874bd193395a47455db14de1dc4741e688add authored over 1 year ago by Jovansonlee Cesar <[email protected]>
cargo fmt

2c44077a6864bd6e3232b054b8ceb45f26013a57 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
refactor: shorted the code

42f2d816fbe84248f8edc9109226dafca773912d authored over 1 year ago by Jovansonlee Cesar <[email protected]>
refactor: improve the function to view line in linear mode with the use of SelectionSplits enum to make it clear and shorten the code

bddd78433144ec2324ecd2d4a38b0c6899283a88 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: improvement on the highlighted selection, when range is in between the selection it should be selected

276952d94a95dbf0d959ffd18e27be7b606daab3 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: use Vec<Ch> for the highlighted line instead of String

8a6e6bad8d790c71e1082589582a4b868828b9db authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: initial code for showing the selected text in highlighted lines

81eb1efc8d437c14075160ccdfd5be5c5b6f954f authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: wire up the menu

ba49dc498c2e441f6fc36a2d0e6c96c1182c60ab authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: add the scroll_cursor_into_view as an option flag

127eaf9920a9a8e96e8dca86577200a8af05fb0c authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: the self.is_selecting interfering with our cursor movement using the mouse it is now decoupled from the other flag is_primary_button, feat: add an initial code to ScrollTheCursor into view automatically via the browser provided method

f4218650466f4fdffa6b5d6bbbbb9af35c3cf075 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: the accurate location of where to show the context menu

f590ecd4499c2933f9550ce631aff7815eb07bc2 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: add showing of context menu

c314e47592ac51a3e1d431041480d3a944f0572a authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: move the on_keydown and on_contextmenu into the web_editor instead of from the App

b04784ea6385e49d92b8cfebc97036ffa422f168 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
docs: update TODO items

7d975c7355a7465e381b33c4f11b4b11caad4311 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: show only the cursor if the WebEditor is in focused

72ad92a22340a71ea4d4504cc2a0e55bb8e54f3d authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: add Focuse and Blur event behaviour

7fcaf3d3ee7c96861defecf13f1ac3e38cbe099b authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: add an optimize syntax highlighting

a1a061371c36bff1cf086128358c76aa060ebb63 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: move highlighting into the web_editor as it is more platform specific

9c0b6af1b342b06b48d4010e26c75cba5d4bda69 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: remove the use of textarea hacks, TODO: add unicode typing support natively

bc0306d3c21ee6804ccbbe66c7dfd98edb731262 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: add optimization to highlight only the visible lines in the viewport

91b1b4647007aa2b631aa5fa3a394d56fda29c05 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: calculate the visible lines

d6b8c57f6288bbd3ab4ca1a0829565ce0c600d9c authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: use the theme background on the selected line

bf61475add57fedd033408229045468e5432d2ee authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: show the context menu, improve the style

376c12f893d7f49f824bf6352bceedcc74abecae authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: make editor public

62170134541489774efda8577bcb543333e65f14 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: record the cut text in block mode as well

e87d406093ca61cf24b8831470b9a1ef4127eb6d authored over 1 year ago by Jovansonlee Cesar <[email protected]>
refactor: move common routine calls into a unified function to return the normalized casted and clamped selection values

acbb9dbee388581268acaf10eb807a7103d18911 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: add block selection

499602e7fb9e3caf9545d9b296e524b538e729a0 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: use of SelectionMode instead of just flag: is_block_mode

ade527ac2f4416de8d2170a76401c9a4c53e45a0 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
refactor: use class differentiation instead of changing the background_color directly when text is selected

89426883e8a5bb44bb95a39e497a2ae0afe25fb1 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
refactor: use WebEditorMsg instead of EditorWebMsg

5de7bbd176c8fed4b7b39f1e785fbb690af0299a authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: remove unused annotation

ad5b8769ba3110782e857a7ba9ed4afcafefb5ff authored over 1 year ago by Jovansonlee Cesar <[email protected]>
cargo fmt

cb3d92d1fc31b4cdd40f2de9ac218a08a727a5a2 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
cargo clippy

03fb0d52f2de11887db89d255256618d28ee7e94 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: put back view_text_buffer function to simply make a representation of a text_buffer

c0d8e0642999bd9e8e4e67828c1059b73f9a64da authored over 1 year ago by Jovansonlee Cesar <[email protected]>
cargo fmt

c67c2555b5771ad164372d256db594b87548f4b7 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: disable the context menu

1549bf7dc34d11baa3dfa699a997a63f7d73d2a9 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: improve the edge cases when only parts of line is highlighted

c370b44c92062ae3131e383bd98e8242d8f0a548 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
fix: improvement on the mouse event, doing only selection when it is on the primary button click

ccc7e7b7ac28e732d313483a727cd55638ee89b2 authored over 1 year ago by Jovansonlee Cesar <[email protected]>
feat: improvement on text selection and initial code on changing the background for the selected text

8c0ccf7de14b3dd44d91584976e9f385574c7682 authored over 1 year ago by Jovansonlee Cesar <[email protected]>