Ignore:
Timestamp:
Dec 10, 2008, 11:11:24 PM (13 years ago)
Author:
Thomas Schmid
Message:
  • changed PersistenceManager to load WS without restoring all connections if plugin properties have changed
  • added byte counter TextInput/TextOutput
  • added QuickWatch to TextOutput
  • TextOutput now accepts different input type
  • ToDO: fix connections on workspaces using old TextOutput
Location:
trunk/CrypPlugins/TextInput
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/TextInput/TextInput.cs

    r136 r140  
    244244      this.NotifyUpdate();
    245245      settings.HasChanges = true;
     246      textInputPresentation.labelBytesCount.Content = string.Format("{0:0,0}", Encoding.Default.GetBytes(textInputPresentation.textBoxInputText.Text.ToCharArray()).Length) + " Bytes";
    246247    }
    247248
  • trunk/CrypPlugins/TextInput/TextInputPresentation.xaml

    r4 r140  
    44    Height="Auto" Width="Auto" Margin="0">
    55    <Grid Height="Auto" Width="Auto" Margin="0">
    6       <Grid.RowDefinitions>
    7         <RowDefinition Height="Auto"/>
    8         <RowDefinition Height="1*" />
    9       </Grid.RowDefinitions>
    10       <Label Name="labelInputText" Grid.Row="0" VerticalAlignment="Top" Background="DarkGray">
    11           Text (1 character = 8 Bit)
    12       </Label>
    13       <TextBox Name="textBoxInputText" Grid.Row="1" AcceptsTab="True"
     6        <Grid.RowDefinitions>
     7            <RowDefinition Height="Auto"/>
     8            <RowDefinition Height="1*" />
     9            <RowDefinition Height="Auto"/>
     10        </Grid.RowDefinitions>
     11        <Label Name="labelInputText" Grid.Row="0" VerticalAlignment="Top" Background="DarkGray" Margin="0" Padding="0">
     12            Text (1 character = 8 Bit)
     13        </Label>
     14        <TextBox Name="textBoxInputText" Grid.Row="1" AcceptsTab="True"
    1415               TextWrapping="Wrap" VerticalScrollBarVisibility="Auto"
    1516               AcceptsReturn="True" />
    16   </Grid>
     17        <Label Name="labelBytesCount" Grid.Row="2" VerticalAlignment="Top" Background="DarkGray" Margin="0" Padding="0">
     18            0 Bytes
     19        </Label>
     20    </Grid>
    1721</UserControl>
Note: See TracChangeset for help on using the changeset viewer.