AvaloniaEdit icon indicating copy to clipboard operation
AvaloniaEdit copied to clipboard

Can't switch input method

Open chenjing1294 opened this issue 1 year ago • 1 comments

version:0.10.12.2

I'm using TextEdit to edit Chinese characters, and sometimes I can't switch between Chinese and English input methods. But I didn't find the regularity of bugs appearing.

chenjing1294 avatar Oct 07 '22 07:10 chenjing1294

input

<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:avalonEdit="https://github.com/avaloniaui/avaloniaedit"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:pages="clr-namespace:RedisAssistant.CustomControls.Pages"
        mc:Ignorable="d" d:DesignWidth="500" d:DesignHeight="450"
        FontFamily="Microsoft YaHei,Simsun,苹方-简,宋体-简"
        Width="500"
        SizeToContent="Height"
        x:Class="RedisAssistant.Views.Test"
        Title="Test">
  <StackPanel Margin="10">
    <TextBlock Text="TextBox:" FontSize="20"></TextBlock>
    <TextBox AcceptsReturn="True" TextWrapping="Wrap"
             Height="100" />
    <TextBlock Text="avalonEdit:" FontSize="20"></TextBlock>
    <avalonEdit:TextEditor
      BorderBrush="black"
      Foreground="black"
      Background="white"
      BorderThickness="1"
      Height="100"
      HorizontalScrollBarVisibility="Auto"
      VerticalScrollBarVisibility="Visible"
      FontSize="14" />
  </StackPanel>
</Window>

chenjing1294 avatar Oct 07 '22 08:10 chenjing1294

@chenjing1294 can you try latest changes? IME should be fully implemented there. Cc/ @Gillibald

danipen avatar Oct 16 '22 09:10 danipen

@chenjing1294 did you have a chance to see if this is fixed with the latest changes? thanks!

danipen avatar Oct 18 '22 11:10 danipen

@chenjing1294 did you have a chance to see if this is fixed with the latest changes? thanks!

Problem solved, good job input

chenjing1294 avatar Oct 18 '22 11:10 chenjing1294