Skip to content

Commit

Permalink
added information for items in outline tree
Browse files Browse the repository at this point in the history
  • Loading branch information
Judith Herrmann committed Jul 16, 2021
1 parent 051667d commit 6529de9
Show file tree
Hide file tree
Showing 18 changed files with 35 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
yellowButtonMenu
openParsingTree

self document perform: #explore
MarkdownOutlineView openWith: self document
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"markdownText:" : "jh 6/29/2021 16:50",
"openFile:" : "mas 7/7/2020 12:42",
"openFileDialog" : "JE 5/26/2021 13:13",
"openParsingTree" : "F.S 7/7/2021 11:03",
"openParsingTree" : "jh 7/16/2021 20:37",
"openSettings" : "mf 5/25/2021 15:31",
"openStream:" : "jh 6/28/2021 22:05",
"putTextOn:" : "jh 6/28/2021 22:05",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ treeSpec: aBuilder
model: self;
roots: #document;
getChildren: #getNextIndentationLevel:;
"columns: {
[:listMorph | self halt.(listMorph filteredItems collect: [:item |
columns: {
[:listMorph | (listMorph filteredItems collect: [:item |
item preferredWidthOfColumn: 1]) max].
nil ""take all the space""};"
nil "take all the space"};
frame: (0@0 corner: 1@1).
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"document:" : "jh 7/16/2021 11:39",
"getNextIndentationLevel:" : "jh 7/16/2021 11:43",
"label" : "jh 7/16/2021 09:44",
"treeSpec:" : "jh 7/16/2021 12:04",
"treeSpec:" : "jh 7/16/2021 14:20",
"windowSpec:" : "jh 7/16/2021 12:03" } }
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
view
treeRepresentation

^ {self path}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
view
treeRepresentation

^ self subclassResponsibility
^ {'start:', String tab, self startPosition.
'end:', String tab, self endPosition}
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
"startPosition:" : "LL 7/12/2021 21:56",
"textAttributes" : "jh 7/6/2021 22:05",
"textColor" : "jh 6/29/2021 16:01",
"treeRepresentation" : "jh 7/16/2021 11:15" } }
"treeRepresentation" : "jh 7/16/2021 17:59" } }
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
view
treeRepresentation

^ {self content}
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
"rawContent" : "jh 7/13/2021 15:37",
"rawContent:" : "jh 7/13/2021 15:37",
"totalLength" : "jh 7/13/2021 18:45",
"treeRepresentation" : "jh 7/16/2021 11:19" } }
"treeRepresentation" : "jh 7/16/2021 20:48" } }
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
view
treeRepresentation

^ self children
| copiedChildren |
copiedChildren := self children copy.
super treeRepresentation addAllFirstTo: copiedChildren.
^ copiedChildren
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
"initialize" : "JE 6/16/2021 13:12",
"lastChild" : "mf 7/4/2021 14:02",
"leafBlocks" : "mf 7/4/2021 14:03",
"treeRepresentation" : "jh 7/16/2021 11:16" } }
"treeRepresentation" : "jh 7/16/2021 17:58" } }
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
view
treeRepresentation

^ self children
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
view
treeRepresentation

^ self subclassResponsibility
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
view
treeRepresentation

^ self inlines
| copiedInlines |
copiedInlines := self inlines copy.
super treeRepresentation addAllFirstTo: copiedInlines.
^ copiedInlines
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
"lastChild" : "mf 7/4/2021 14:29",
"leafBlocks" : "LL 6/16/2021 14:57",
"needsInlineParsing" : "jh 7/15/2021 17:41",
"treeRepresentation" : "jh 7/16/2021 11:17" } }
"treeRepresentation" : "jh 7/16/2021 17:58" } }
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
view
treeRepresentation

| copiedChildren |
copiedChildren := super treeRepresentation copy asOrderedCollection.
{'path:', String tab, self path} addAllFirstTo: copiedChildren.

^ copiedChildren
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
"path" : "mf 6/22/2021 15:38",
"path:" : "mf 6/22/2021 15:38",
"textAttributes" : "jh 7/9/2021 12:18",
"totalLength" : "jh 7/13/2021 19:09" } }
"totalLength" : "jh 7/13/2021 19:09",
"treeRepresentation" : "jh 7/16/2021 20:43" } }
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
"lastChar" : "jh 7/11/2021 11:29",
"removeLast" : "jh 7/11/2021 12:02",
"totalLength" : "jh 7/13/2021 18:49",
"treeRepresentation" : "jh 7/16/2021 11:30" } }
"treeRepresentation" : "jh 7/16/2021 14:20" } }

0 comments on commit 6529de9

Please sign in to comment.