Sha256: df1eaa52de35a8916aa2d2623f21545370c9c4dda387f836ee577cbb6a3696ee

Contents?: true

Size: 774 Bytes

Versions: 8

Compression:

Stored size: 774 Bytes

Contents

#create a new note
  def rwdhypernotecreatenewnote
  
  @rwd_call_after_back << "reloadtab"
    if  @a_notedata.empty?
      newnotecontent =  'new note'
    else
      newnotecontent = @a_notedata.to_s
    end
    if  @a_viewhypernote.empty?
      newnotefilename = "newnote.txt"
    else
      newnotefilename = @a_viewhypernote.to_s + ".txt"
    end
    
  $reloadaftercreate = true
    download("#{newnotecontent}", "#{newnotefilename}")
   
    end
    
def rwdhypernotereloadtab
 
  if  $reloadaftercreate
    @rwd_tab = "superantcomeditnoterecordfile"
    listnotedirs
   
    $notesarray.each { |x|
     if x.include? "#{@a_viewhypernote}" 
    
     @a_viewhypernote = x.gsub(/\.txt$/, "")
     end
   }
      
  
   $reloadaftercreate = false
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rwdhypernote-0.12 code/superant.com.hypernote/createnewnote.rb
rwdhypernote-0.08 code/superant.com.hypernote/createnewnote.rb
rwdhypernote-0.10 code/superant.com.hypernote/createnewnote.rb
rwdhypernote-0.13 code/superant.com.hypernote/createnewnote.rb
rwdhypernote-0.15 code/superant.com.hypernote/createnewnote.rb
rwdhypernote-0.09 code/superant.com.hypernote/createnewnote.rb
rwdhypernote-0.11 code/superant.com.hypernote/createnewnote.rb
rwdhypernote-0.16 code/superant.com.hypernote/createnewnote.rb