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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

experiment with hatdocs / txtar #1768

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,26 @@ finalState:
end: {line: 2, character: 8}
isReversed: false
hasExplicitRange: true
-- initial --
0 |hello
hat [---]
h
1 |there
2 |whatever
hat [------]
w
3 |
4 |
sel !
-- final --
0 |hello
src [---]
1 |there
2 |whatever
src [------]
3 |
4 |hello
that [----
5 |whatever
sel !
that -------]
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,12 @@ ide:
- type: character
start: {line: 0, character: 0}
end: {line: 0, character: 5}
-- initial --
0 |hello world
sel !
hat [---]
h
-- final --
0 |hello world
sel !
that [---]
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,13 @@ finalState:
end: {line: 0, character: 1}
isReversed: false
hasExplicitRange: true
-- initial --
0 |a
sel !
hat #
a
-- final --
0 |a a
sel !
src #
that #
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,27 @@ finalState:
end: {line: 2, character: 1}
isReversed: false
hasExplicitRange: true
-- initial --
0 |a
hat #
a
1 |b
hat #
b
2 |c
hat #
c
3 |
4 |
sel !
-- final --
0 |a
src #
1 |b
src #
2 |c
src #
3 |
4 |a b c
sel !
that [---]
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,31 @@ finalState:
end: {line: 2, character: 1}
isReversed: false
hasExplicitRange: true
-- initial --
0 |a
hat #
a
1 |b
hat #
b
2 |c
hat #
c
3 |
4 |d
hat #
d
5 |
sel !
-- final --
0 |a
src #
1 |b
src #
2 |c
src #
3 |
4 |d a b c
that [---]
5 |
sel !
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,31 @@ finalState:
end: {line: 2, character: 1}
isReversed: false
hasExplicitRange: true
-- initial --
0 |a
hat #
a
1 |b
hat #
b
2 |c
hat #
c
3 |
4 |const values = [e]
hat #
e
5 |
sel !
-- final --
0 |a
src #
1 |b
src #
2 |c
src #
3 |
4 |const values = [e, a, b, c]
that [-----]
5 |
sel !
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,31 @@ finalState:
end: {line: 2, character: 1}
isReversed: false
hasExplicitRange: true
-- initial --
0 |a
hat #
a
1 |b
hat #
b
2 |c
hat #
c
3 |
4 |d
hat #
d
5 |
sel !
-- final --
0 |a
src #
1 |b
src #
2 |c
src #
3 |
4 |a b c d
that [---]
5 |
sel !
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,31 @@ finalState:
end: {line: 2, character: 1}
isReversed: false
hasExplicitRange: true
-- initial --
0 |a
hat #
a
1 |b
hat #
b
2 |c
hat #
c
3 |
4 |const values = [e]
hat #
e
5 |
sel !
-- final --
0 |a
src #
1 |b
src #
2 |c
src #
3 |
4 |const values = [a, b, c, e]
that [-----]
5 |
sel !
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,13 @@ finalState:
end: {line: 0, character: 3}
isReversed: false
hasExplicitRange: true
-- initial --
0 |a
sel !
hat #
a
-- final --
0 |a a
sel !
src #
that #
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,13 @@ finalState:
end: {line: 0, character: 1}
isReversed: false
hasExplicitRange: true
-- initial --
0 |a
sel !
hat #
a
-- final --
0 |aa
sel !
src #
that #
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,13 @@ finalState:
end: {line: 0, character: 2}
isReversed: false
hasExplicitRange: true
-- initial --
0 |a
sel !
hat #
a
-- final --
0 |aa
sel !
src #
that #
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,24 @@ finalState:
end: {line: 1, character: 16}
isReversed: false
hasExplicitRange: true
-- initial --
0 |function myFunk(
sel !
1 | name: string,
hat [--]
m
2 | value: number,
hat [---]
l
3 | whatever: boolean
4 |) {}
-- final --
0 |function myFunk(
sel !
1 | name: string,
src [----------]
2 | value: number,
3 | name: string,
that [----------]
4 | whatever: boolean
5 |) {}
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,22 @@ finalState:
end: {line: 1, character: 16}
isReversed: false
hasExplicitRange: true
-- initial --
0 |function myFunk(
sel !
1 | name: string,
hat [--]
m
2 | value: number
hat [---]
v
3 |) {}
-- final --
0 |function myFunk(
sel !
1 | name: string,
src [----------]
2 | value: number,
3 | name: string
that [----------]
4 |) {}
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,24 @@ finalState:
end: {line: 4, character: 21}
isReversed: false
hasExplicitRange: true
-- initial --
0 |function myFunk(
sel !
1 | name: string,
2 | value: number,
hat [---]
l
3 | whatever: boolean
hat [------]
w
4 |) {}
-- final --
0 |function myFunk(
sel !
1 | name: string,
2 | whatever: boolean,
that [---------------]
3 | value: number,
4 | whatever: boolean
src [---------------]
5 |) {}
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,25 @@ finalState:
end: {line: 0, character: 57}
isReversed: false
hasExplicitRange: true
-- initial --
0 |function helloWorld(foo: string, bar: number, baz: string) {
hat [-] [-]
f z
1 |
2 |}
3 |
4 |function bongo() {
sel !
5 |
6 |}
-- final --
0 |function helloWorld(foo: string, bar: number, baz: string) {
src [---------] [---------]
1 |
2 |}
3 |
4 |function bongo(foo: string, baz: string) {
sel !
that [----------------------]
5 |
6 |}
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,27 @@ finalState:
end: {line: 0, character: 57}
isReversed: false
hasExplicitRange: true
-- initial --
0 |function helloWorld(foo: string, bar: number, baz: string) {
hat [-] [-]
o z
1 |
2 |}
3 |
sel !
4 |function bongo() {
hat #
(
5 |
6 |}
-- final --
0 |function helloWorld(foo: string, bar: number, baz: string) {
src [---------] [---------]
1 |
2 |}
3 |
sel !
4 |function bongo(foo: string, baz: string) {
that [----------------------]
5 |
6 |}
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,20 @@ finalState:
end: {line: 0, character: 3}
isReversed: false
hasExplicitRange: true
-- initial --
0 |foo
sel !
hat [-]
f
1 | const value = "Hello world";
hat [---]
v
2 |
-- final --
0 |foo
sel !
src [-]
1 | const value = "Hello world";
2 | foo
that [-]
3 |
Loading