Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The context menu feature doesn't work #77

Open
632575987 opened this issue Jan 10, 2024 · 0 comments
Open

The context menu feature doesn't work #77

632575987 opened this issue Jan 10, 2024 · 0 comments

Comments

@632575987
Copy link

In 0.9.0-beta version , the cut/copy/paste...context menu not work , Is it extra code to set up the Options?

<Page
    x:Class="App4.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App4"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:mo="using:Monaco"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

    <Grid>
        <mo:CodeEditor x:Name="ce" Text="select * from dual;" CodeLanguage="sql"/>
    </Grid>
</Page>
ce.CodeLanguage = "sql";
ce.Options.CopyWithSyntaxHighlighting = true;
//ce.Options.Contextmenu = true;
ce.Options.Contextmenu = false;
//I dont know how to make the contextmenu work...

demo2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant