Skip to content

Commit

Permalink
do not add lines at the beginning
Browse files Browse the repository at this point in the history
  • Loading branch information
xulihang committed Dec 27, 2018
1 parent b744d1e commit 89b2cd1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion BasicCAT/BasicCAT.b4j.meta
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,4 @@ ModuleClosedNodes7=
ModuleClosedNodes8=
ModuleClosedNodes9=
SelectedBuild=0
VisibleModules=1,2,3,4,5,6,7,8,9,10,15,16,41,11,21,50
VisibleModules=1,2,3,4,5,6,7,8,9,10,15,16,41,11,21,50,56
16 changes: 12 additions & 4 deletions BasicCAT/Utils.bas
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,16 @@ Sub exportToMarkdownWithNotes(segments As List,path As String,filename As String
Dim id As String
id=extra.Get("id")
If previousID<>id Then
fullsource=CRLF&fullsource
If id<>-1 Then
fullsource=CRLF&fullsource
End If
previousID=id
End If
End If
If innerFilename<>previousInnerFilename Then
fullsource=CRLF&fullsource
If previousInnerFilename<>"" Then
fullsource=CRLF&fullsource
End If
previousInnerFilename=innerFilename
End If
source=Regex.Replace2("<.*?>",32,source,"")
Expand Down Expand Up @@ -214,12 +218,16 @@ Sub exportToBiParagraph(segments As List,path As String,filename As String,sourc
Dim id As String
id=extra.Get("id")
If previousID<>id Then
fullsource=CRLF&fullsource
If previousID<>-1 Then
fullsource=CRLF&fullsource
End If
previousID=id
End If
End If
If innerFilename<>previousInnerFilename Then
fullsource=CRLF&fullsource
If previousInnerFilename<>"" Then
fullsource=CRLF&fullsource
End If
previousInnerFilename=innerFilename
End If
source=Regex.Replace2("<.*?>",32,source,"")
Expand Down

0 comments on commit 89b2cd1

Please sign in to comment.