Updates with the last version.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2015-05-09 16:18:39 +00:00
parent b63575e9b4
commit 134ba5ad8d
2 changed files with 19 additions and 1 deletions

View File

@ -32,6 +32,9 @@ Class {
'pandoc',
'recentTrees'
],
#classInstVars : [
'workingFile'
],
#category : #'Grafoscopio-UI'
}
@ -48,8 +51,11 @@ GrafoscopioBrowser class >> configureFossil [
{ #category : #'as yet unclassified' }
GrafoscopioBrowser class >> configurePandoc [
"Stablish where is located pandoc according to the operative system and the input of the user"
"Stablish where is located pandoc according to the operative system and/or the input of the user"
| fileStream |
fileStream := UITheme builder
fileOpen: 'Coloque la ruta de pandoc'.

View File

@ -434,6 +434,18 @@ GrafoscopioNode >> promote [
]
{ #category : #exporting }
GrafoscopioNode >> publish [
| publishedUrl |
(self confirm: 'Publish playground content to the cloud?')
ifFalse: [ ^ self ].
self content ifEmpty: [
self inform: 'Nothing was published because the playground is empty'.
^ self ].
Clipboard clipboardText: (publishedUrl := (GTUrlProvider new post: self content) asString).
self inform: publishedUrl , ' was published and the url was copied to clipboard'
]
{ #category : #'add/remove nodes' }
GrafoscopioNode >> removeLastNode [
"Adds the given node to the receivers collection of children, and sets this object as the parent