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

Changeset 178


Ignore:
Timestamp:
06/06/08 12:41:29 (4 years ago)
Author:
alex
Message:

fixed convert line breaks bug

Location:
trunk/lingosource
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/lingosource/castlib1/helptext.html

    r175 r178  
    55<body bgcolor="#FFFFFF"> 
    66<br> 
    7 <font face="Arial, Helvetica" size=4><b>Handler Menu</font></b><font size=3> by Alex da Franca -- </font><a href="mailto:alex@farbflash.de"><font color="#000096"><u>alex@farbflash.de<p> 
     7<font face="Arial" size=4><b>Handler Menu</font></b><font size=3> by Alex da Franca -- </font><a href="mailto:alex@farbflash.de"><font color="#000096"><u>alex@farbflash.de<p> 
    88</a></font></u><font color="#000000">Quickly <b>execute handlers</b> which are found in the <b>currently open stage movie</b> from this menu.<br> 
    99Holding the <b>Option&#47;Alt</b> key pressed, while selecting a menu item <b>opens the script</b> and highlights the handler in the editor instead of executing the handler.<br> 
  • trunk/lingosource/castlib1/memberInfo.xml

    r171 r178  
    135135        <subversion_version_field> 
    136136                <scriptType>#field</scriptType> 
    137                 <comments>http://www.farbflash.de/cgi-bin/versionChecker.pl?movieName=HandlerMenu_OSC?movieName=HandlerMenu_OSC</comments> 
     137                <comments>http://www.farbflash.de/cgi-bin/versionChecker.pl?movieName=HandlerMenu_OSC</comments> 
    138138                <memberName>subversion_version_field</memberName> 
    139139                <fname>subversion_version_field</fname> 
  • trunk/lingosource/castlib1/menu1_button.html

    r175 r178  
    44</head> 
    55<body bgcolor="#FFFFFF"> 
    6 <font face="Arial, Helvetica" size=4 color="#141414">Utilities</font></body> 
     6<font face="Arial" size=4 color="#141414">Utilities</font></body> 
    77</html> 
  • trunk/lingosource/castlib1/menu2_button.html

    r175 r178  
    44</head> 
    55<body bgcolor="#FFFFFF"> 
    6 <font face="Arial, Helvetica" size=4 color="#141414">Handlers</font></body> 
     6<font face="Arial" size=4 color="#141414">Handlers</font></body> 
    77</html> 
  • trunk/lingosource/castlib1/statusOutput.html

    r175 r178  
    44</head> 
    55<body bgcolor="#FFFFFF"> 
    6 <font face="Arial, Helvetica">The following operation may take some time...</font></body> 
     6<font face="Arial">The following operation may take some time...</font></body> 
    77</html> 
  • trunk/lingosource/castlib1/subversion_version_field.txt

    r173 r178  
    1 r174 
     1r180 
  • trunk/lingosource/castlib1/svn_Utilities.ls

    r173 r178  
    472472on mExportAllScriptsToDiskWithFolder me, skipIcons, selectionOnly, convertLineBreaksToUnix, theFolder, chooseNewPath 
    473473   
     474   
    474475  theFolder = string(theFolder) 
    475476  if length(theFolder) < 1 then 
     
    528529   
    529530   
    530    
    531    
    532531  isMac = (the platform contains "mac") -- we need the differentiation because of the dreaded 31 char limit 
    533532   
     
    572571         
    573572        memtype = memref.type 
     573         
     574         
     575        convertLineBreaksToUnixT = 0 
    574576         
    575577        -- if [#script].getPos(memtype) > 0 then 
     
    592594              ext = ".html" 
    593595              scrText = memref.html 
    594               convertLineBreaksToUnix = 0 
     596              convertLineBreaksToUnixT = 0 
    595597              scrtype = #text 
    596598              ----------------------- 
     
    684686           
    685687          if convertLineBreaksToUnix = 1 then 
    686              
    687             if mCheckForXtra(me, "Pregex") = 1 then 
    688                
    689               scrTextLi = [scrText] 
    690               pregex_replace(scrTextLi, "\x0D\x0A?", "g", "\x0A") 
    691               scrText = scrTextLi[1] 
    692                
    693             else 
    694                
    695               fndStr = numToChar(13) & numToChar(10) 
    696               offs = offset(fndStr, scrText) 
    697               repeat while offs > 0 
    698                 delete char offs of scrText 
     688            if convertLineBreaksToUnixT <> 1 then 
     689              if mCheckForXtra(me, "Pregex") = 1 then 
     690                 
     691                scrTextLi = [scrText] 
     692                pregex_replace(scrTextLi, "\x0D\x0A?", "g", "\x0A") 
     693                scrText = scrTextLi[1] 
     694                 
     695              else 
     696                 
     697                fndStr = numToChar(13) & numToChar(10) 
    699698                offs = offset(fndStr, scrText) 
    700               end repeat 
    701                
    702               fndStr = numToChar(13) 
    703               offs = offset(fndStr, scrText) 
    704               repeat while offs > 0 
    705                 put numToChar(10) into char offs of scrText 
     699                repeat while offs > 0 
     700                  delete char offs of scrText 
     701                  offs = offset(fndStr, scrText) 
     702                end repeat 
     703                 
     704                fndStr = numToChar(13) 
    706705                offs = offset(fndStr, scrText) 
    707               end repeat 
    708                
     706                repeat while offs > 0 
     707                  put numToChar(10) into char offs of scrText 
     708                  offs = offset(fndStr, scrText) 
     709                end repeat 
     710              end if  
    709711            end if 
    710712          end if 
    711713          ----------------------------------------- 
    712            
    713714           
    714715          if theDefaultName <> origname then 
     
    727728            noChanges = (mRemoveWhiteSpaces(me, scrText&"") = mRemoveWhiteSpaces(me, alterText&"")) 
    728729             
     730             
    729731            if noChanges = 0 then 
    730732               
    731                
    732733              mSaveToTextFile me, scrText, thisFolder & theDefaultName & ext 
    733                
    734734               
    735735              bmexp = 0 
  • trunk/lingosource/castlib2/GetSetPrefs.ls

    r175 r178  
    184184  else 
    185185    olddelim = the itemdelimiter 
    186     the itemdelimiter = "¿" 
     186    the itemdelimiter = "À" 
    187187     
    188188    anz = prefsText.line.count 
     
    335335    repeat with n = 1 to anz 
    336336       
    337       if objectP(prefliste) then prefStr = string(prefliste.getPropAt(n))&"¿" 
     337      if objectP(prefliste) then prefStr = string(prefliste.getPropAt(n))&"À" 
    338338       
    339339      dieserWert = prefliste[n] 
     
    342342         
    343343        repeat with m = 1 to count(dieserWert) 
    344           put dieserWert[m]&"¿" after prefStr 
     344          put dieserWert[m]&"À" after prefStr 
    345345        end repeat 
    346346         
    347347      else 
    348         put prefliste[n]&"¿" after prefStr 
     348        put prefliste[n]&"À" after prefStr 
    349349      end if 
    350350       
  • trunk/lingosource/castlib2/commonMovieScript.ls

    r175 r178  
    387387  --         ACTION: Create/Get timeout object 
    388388  --                 This handler works the same with the old player <10 and the new player >=10 
    389   --         INPUT: || theName     || string  || name for new timeout object|| 
    390   --                || theDuration || integer || timeout perios in milliseconds|| 
     389  --         INPUT: ||ÊtheName     || string  || name for new timeout object|| 
     390  --                ||ÊtheDuration || integer || timeout perios in milliseconds|| 
    391391  --                || theHandler  || symbol  || handler to be called on each timepout event|| 
    392392  --                || theTarget   || object  || object to be sent the timeout event <theHandler>|| 
     
    19161916  end if 
    19171917   
    1918   -- pUPPERCASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZZÁÀ"&vA& "ÄÃÅÇÉÈÊËÍÌÎÏÑÓÒÔÖÕÚÙ€ÜÆØŒŸ" 
    1919   -- pLowercase = "abcdefghijklmnopqrstuvwxyzáà"&"â"&"äãåçéèêëíìîïñóòôöõúùûüæøœÿ" 
    1920   pCaseLists.setaprop(#uppercase, ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "Á", "À", vA, "A", "Ä", "Ã", "Å", "Ç", "É", "È", "Ê", "Ë", "Í", "Ì", "Î", "Ï", "Ñ", "Ó", "Ò", "Ô", "Ö", "Õ", "Ú", "Ù", "U", "Ü", "Æ", "Ø", "Œ", "Ÿ"]) 
    1921   pCaseLists.setaprop(#lowercase, ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "á", "à", vA, "â", "ä", "ã", "å", "ç", "é", "è", "ê", "ë", "í", "ì", "î", "ï", "ñ", "ó", "ò", "ô", "ö", "õ", "ú", "ù", "û", "ü", "æ", "ø", "œ", "ÿ"]) 
     1918  -- pUPPERCASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZZçË"&vA& "€Ì‚ƒéæèêíëì„îñï 
     1919Íòôۆ®¯ÎÙ" 
     1920  -- pLowercase = "abcdefghijklmnopqrstuvwxyz‡ˆ"&"‰"&"Š‹ŒŽ‘’“”•–—˜™š›œžŸŸ¿ÏØ" 
     1921  pCaseLists.setaprop(#uppercase, ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "ç", "Ë", vA, "A", "€", "Ì", "", "‚", "ƒ", "é", "æ", "è", "ê", "í", "ë", "ì", "„", "î", "ñ", "ï", " 
     1922", "Í", "ò", "ô", "U", "†", "®", "¯", "Î", "Ù"]) 
     1923  pCaseLists.setaprop(#lowercase, ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "‡", "ˆ", vA, "‰", "Š", "‹", "Œ", "", "Ž", "", "", "‘", "’", "“", "”", "•", "–", "—", "˜", "™", "š", "›", "œ", "", "ž", "Ÿ", "Ÿ", "¿", "Ï", "Ø"]) 
    19221924   
    19231925end 
     
    19371939      li = ["Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"] 
    19381940    "pt": 
    1939       li = ["Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado","Domingo"] 
     1941      li = ["Segunda-feira","Tera-feira","Quarta-feira","Quinta-feira","Sexta-feira","S‡bado","Domingo"] 
    19401942    "fr": 
    19411943      li = ["Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"] 
    19421944    "es": 
    1943       li = ["Lunes","Martes","Miércoles","Jueves","Viernes","Sábado","Domingo"] 
     1945      li = ["Lunes","Martes","MiŽrcoles","Jueves","Viernes","S‡bado","Domingo"] 
    19441946    "it": 
    1945       li = ["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato","Domenica"] 
     1947      li = ["Luned“","Marted“","Mercoled“","Gioved“","Venerd“","Sabato","Domenica"] 
    19461948    "nl": 
    19471949      li = ["Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag","Zondag"] 
Note: See TracChangeset for help on using the changeset viewer.