Changeset 32951 for lang/csharp/soyText

Show
Ignore:
Timestamp:
04/30/09 00:05:25 (4 years ago)
Author:
hoge1e3
Message:

#140 fixed

Location:
lang/csharp/soyText/soyText
Files:
1 added
10 modified

Legend:

Unmodified
Added
Removed
  • lang/csharp/soyText/soyText/Form1.Designer.cs

    r32760 r32951  
    321321            this.Text = "soyText"; 
    322322            this.Load += new System.EventHandler(this.Form1_Load); 
     323            this.Activated += new System.EventHandler(this.Form1_Activated); 
    323324            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed); 
    324325            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown); 
  • lang/csharp/soyText/soyText/Form1.cs

    r32912 r32951  
    129129            content.Text = newDoc.content; 
    130130            curDoc = newDoc; 
     131            curDocLastUpdate = curDoc.lastUpdate; 
    131132            //command.Text = newDoc.lastUpdate+""; 
    132133            if (command.Text != "") 
     
    310311            content.Focus(); 
    311312        } 
     313        long curDocLastUpdate; 
     314        private void Form1_Activated(object sender, EventArgs e) 
     315        { 
     316            if (curDoc == null) return; 
     317            if (curDoc.lastUpdate != curDocLastUpdate) 
     318            { 
     319                content.Text = curDoc.content; 
     320                curDocLastUpdate = curDoc.lastUpdate; 
     321            } 
     322 
     323        } 
    312324    } 
    313325} 
  • lang/csharp/soyText/soyText/Form1.resx

    r32279 r32951  
    121121    <value>101, 17</value> 
    122122  </metadata> 
     123  <metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
     124    <value>101, 17</value> 
     125  </metadata> 
    123126  <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    124127    <value>17, 17</value> 
  • lang/csharp/soyText/soyText/bin/Debug/soyText.application

    r32931 r32951  
    1212        </dsig:Transforms> 
    1313        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 
    14         <dsig:DigestValue>2EG4UbAPQDHUcb76xKpae9BDgko=</dsig:DigestValue> 
     14        <dsig:DigestValue>kScJY88ajyyzhUAngP03vLO2VK4=</dsig:DigestValue> 
    1515      </hash> 
    1616    </dependentAssembly> 
  • lang/csharp/soyText/soyText/bin/Debug/soyText.exe.manifest

    r32931 r32951  
    6060        </dsig:Transforms> 
    6161        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 
    62         <dsig:DigestValue>8YO5HUmCdq362mT4dFdBHaM4d8g=</dsig:DigestValue> 
     62        <dsig:DigestValue>HZZvKg61Th1YXtBxMhE/DeWODRk=</dsig:DigestValue> 
    6363      </hash> 
    6464    </dependentAssembly> 
  • lang/csharp/soyText/soyText/bin/Debug/soyText.vshost.application

    r32912 r32951  
    1212        </dsig:Transforms> 
    1313        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 
    14         <dsig:DigestValue>b4VFJRybu2kjnO+ggm9SDfFqbuo=</dsig:DigestValue> 
     14        <dsig:DigestValue>kScJY88ajyyzhUAngP03vLO2VK4=</dsig:DigestValue> 
    1515      </hash> 
    1616    </dependentAssembly> 
  • lang/csharp/soyText/soyText/soyText.csproj

    r32912 r32951  
    7171  <ItemGroup> 
    7272    <Compile Include="AndCondition.cs" /> 
     73    <Compile Include="AttributeCondition.cs" /> 
    7374    <Compile Include="Debug.cs" /> 
    7475    <Compile Include="Document.cs" />