Farbflash projects: Imaging lingo table | 3-D scene list | Find all | Handler menu | Lingo message window

Ignore:
Timestamp:
12/09/07 15:55:41 (4 years ago)
Author:
alex
Message:

various fixes in beta

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lingosource/castlib1/bbedit_Utilities.ls

    r88 r93  
    510510     
    511511    -------- now write the results of the BBEdit diff back into the script members 
    512     memref1.scripttext = mGetTextFromTempFile(me, tempSrcHFSPath) 
     512    memref1.scripttext = mGetTextFromFile(me, tempSrcHFSPath) 
    513513     
    514514    if ilk(memref2) = #member then 
    515       memref2.scripttext = mGetTextFromTempFile(me, tempSrcHFSPath2) 
     515      memref2.scripttext = mGetTextFromFile(me, tempSrcHFSPath2) 
    516516    end if 
    517517     
     
    545545end 
    546546 
    547  
    548 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
    549 -- xxxxxxxxxxxxxxxxxx Read text from file 
    550 --------------------- helper for the above bbdiff handler 
    551  
    552 on mGetTextFromTempFile me, pfad 
    553   retval = "" 
    554    
    555   if the runmode contains "Plugin" then return retval 
    556    
    557   fio = new(xtra "fileio") 
    558    
    559   if not objectP(fio) then return retval 
    560   if (voidP(pfad) or (pfad = "")) then return retval 
    561    
    562   if ilk(pfad) = #string then 
    563     if pfad.length > 0 then 
    564       fio.openFile(pfad, 1) 
    565       if fio.status() = 0 then 
    566         retval = fio.readFile() 
    567         fio.closeFile() 
    568       end if 
    569     end if 
    570   end if 
    571   fio = void 
    572    
    573   return retval 
    574    
    575 end 
    576547 
    577548 
Note: See TracChangeset for help on using the changeset viewer.