Quantcast
Channel: SyntaxEditor for Universal Windows - Recent Posts
Browsing latest articles
Browse All 63 View Live

Can't change the requested theme of the syntax editor

i can't change the theme of the editor  and when building the project with RequestedTheme = "Dark" or else an Exception is thrown without changing the theme from the xaml code or from the Csharp code...

View Article



Re: Can't change the requested theme of the syntax editor

Hello,I just tried RequestedTheme="Dark" in our sample project's App.xaml and it worked all right for me.  Does our sample project work ok for you if you do the same thing there?What specifically is...

View Article

Re: Can't change the requested theme of the syntax editor

This is the exception i get in xaml designer -> = (Exception: Cannot find resource named 'TargetType=ActiproSoftware.Windows.Themes.SharedResourceKeys ID=ExpanderStyleKey'. Resource names are case...

View Article

Re: Can't change the requested theme of the syntax editor

this exception is also thrown in your project code ??

View Article

Re: Can't change the requested theme of the syntax editor

Ok you mean in the VS designer.  It looks like Microsoft has added some bugs in the designer that aren't properly finding resources that are used by our designer integration code.  For instance, I can...

View Article


Re: Can't change the requested theme of the syntax editor

We have submitted a bug report to the VS team on Connect.  Please vote up this link to help support Microsoft looking into...

View Article

Exception when setting IsEnabled on control via keyboard event

When the user clicks on the run button on my app, I disable the editor by setting the SyntaxEditor's IsEnabed property to false.I also want the user to be able to run a program via the F5 key, however...

View Article

Re: Exception when setting IsEnabled on control via keyboard event

Hi Philip,Thanks for reporting this.  There is a bug in the default style for SyntaxEditor that is causing this that we have fixed for the next version.As a workaround, instead of disabling the...

View Article


Re: Exception when setting IsEnabled on control via keyboard event

Thanks for the quick response, the suggested workaround worked for me, Cheers, Phil

View Article


Questions about "multiple font support" and "XAML styles"

Hello,I'm interested in trying the SyntaxEditor. But I'd like to know a few things beforehand.In the feature summary there's an item called "multiple font support". Does that mean multiple fonts in one...

View Article

Re: Questions about "multiple font support" and "XAML styles"

Hi Andreas,Thanks for your interest in SyntaxEditor.  Let me answer your questions.1) Yes, you can optionally give each IHighlightingStyle its own FontFamilyName or FontSize setting and that should...

View Article

Re: Questions about "multiple font support" and "XAML styles"

Hi,1) Yes, my idea is a pretty special use case indeed. I'm planning to develop a kind of/half WYSIWYG Markdown editor. I want to use a bigger and maybe different font for headlines etc. (depending on...

View Article

"Pause" sign auto completion issue

Dear Support Team,I've got a problem with a Syntax Editor's Intellisense auto submitting/completion with a "pause" sign. When trying to type html attribute with '-' in it, intellisense automaticly...

View Article


Re: "Pause" sign auto completion issue

Hi Mateusz,Yes, when your completion provider service is creating the completion session, add a line like this:session.AllowedCharacters.Add('-');That tells it to not auto-match the selected item if...

View Article

Replace text in a one or more lines

Hello, I am interested to replace a portions of text from a file which i intend to show in the editor with a wild character. The file comes from a Source A. The portions of text which i mentioned must...

View Article


Re: Replace text in a one or more lines

Hello,If I understand correctly, please check out our "Collapsed Regions - Advanced" QuickStart.  It seems like that might be what you want to do because you can load up your full document and then...

View Article

Double Tappped Event

Hi there, I need to use double tapped event in syntax editor. But, ViewSelectionchanged is firing all the time. ie, For double tap to trigger, totaly 3(1 for selection and 2 for double tap) taps are...

View Article


Re: Double Tappped Event

Hello,Whe you double-click an offset, it will raise a ViewSelectionChanged event for the first click since that is moving the caret.  Then it will raise the event for the second click since a...

View Article

SyntaxEditor is designed for use in online IDE

Hi, For the WinForms and WPF versions of SyntaxEditor ti states "SyntaxEditor is designed for use in an IDE applications", but for the UWP version it states "SyntaxEditor is designed for use in...

View Article

Re: SyntaxEditor is designed for use in online IDE

Hi David,Thanks for pointing out the mistake.  I think we originally copied that page's text from the Silverlight version's page, and forgot to remove the "online" word.  Correct, the UWP SyntaxEditor...

View Article

Re: SyntaxEditor is designed for use in online IDE

Perfect, thank you.All I need to do now is figure out how to afford it as a hobbiest - do you have a community version like syncfusion or telerik?

View Article


Re: SyntaxEditor is designed for use in online IDE

Hi David,Sorry not at this time.  It's something to consider for the future.

View Article


Syntax editor becomes slow and scroll is choppy

The editor and scroll works fine if I have short text in each line, but it is very choppy and slow when every line contains long text. Example, If I have Lorem; i.e. less than 20 characters in ...

View Article

Re: Syntax editor becomes slow and scroll is choppy

Hello, The UWP SyntaxEditor's performance is currently hampered a bit by its implementation. When we originally wrote it for WinRT (before UWP), we had to use multiple TextBlock controls to rend...

View Article

Re: Syntax editor becomes slow and scroll is choppy

thanks. when do you expect to release "SyntaxEditor vNext" 2019.1 ?

View Article


Re: Syntax editor becomes slow and scroll is choppy

While we can't offer a date at this time, we are probably within the last 10% of development of the UWP vNext version. Please watch our blog for updates.

View Article

Performance Analysis - increasing memory

Hi, We have developed a UWP app based on the syntax editor. Currently we are doing performance testing on the app using automation scripts which frequently loads and unloads the editor within our...

View Article

Re: Performance Analysis - increasing memory

Hello, We aren't aware of any issues with increasing memory. Are you able to create a new simple sample project that shows it happening and send that with steps to reproduce to our support addre...

View Article

Re: Syntax editor becomes slow and scroll is choppy

Hello Actipro Support, We downloaded the sample app from the Microsoft Store. Opened the c# demo (.net Lang. Add-on) In the sample program we created a single line with 1000 characte...

View Article



Re: Syntax editor becomes slow and scroll is choppy

Hi Ravi, Thanks for evaluating SyntaxEditor. 1) Yes, the current UWP SyntaxEditor was written before there were ways in UWP to render text quickly. So it is effectively building TextBlock ob...

View Article

Re: Syntax editor becomes slow and scroll is choppy

Hello Actipro Support, Thanks for prompt response. Further info on the issues: We use the ActiPro's syntax editor control in our app that runs on the windows 10 tablet PC with 2GB RAM. Both o...

View Article

Re: Syntax editor becomes slow and scroll is choppy

Hi Ravi, Thanks for the info. We will dig in some more in the next few days and will let you know if we have any questions. We are still finalizing the UWP version's code. Since we use Direct...

View Article

Re: Syntax editor becomes slow and scroll is choppy

Hi Ravi, I did some testing with the latest UWP SyntaxEditor vNext codebase (which again has major infrastructure changes over the current release version) and I'm not seeing any scrolling jumpin...

View Article


Re: Syntax editor becomes slow and scroll is choppy

Hello Actipro Support, Good to hear that the issues reported about choppy scroll and scrolling jumpiness are not evident in the latest vNext Syntax Editor. We would like to try out the scroll s...

View Article

Re: Syntax editor becomes slow and scroll is choppy

Hi Ravi, Great, and I think one of your co-workers asked to be a beta tester too. We don't have a beta distribution ready just yet but I've added you to our beta tester list and will let you kno...

View Article

Re: Syntax editor becomes slow and scroll is choppy

Hello Actipro Support, We have immediate requirement to test the said functionality on our target device. It is not feasible for us to wait for the beta to be released, Please share details of an...

View Article


Re: Syntax editor becomes slow and scroll is choppy

Hi Ravi, Please contact us offline by writing our support address and mention this thread. We can discuss further there.

View Article


Flag lines not covered in config file

I would like to be able to flag any line that has text that does not have a pattern set for text. I would also like to be able to collect the line numbers to store in a list. Is this possible?

View Article

Re: Flag lines not covered in config file

Hi Ryan, Can you provide some more detail and examples of what you're trying to do so that we can better understand the scenario? Thanks!

View Article

Re: Flag lines not covered in config file

I have files that can not have any commands / patterns that are not in the config file for color coding. Below is a simple example. Notice the RR is not in the config pattern. I would like to k...

View Article

Re: Flag lines not covered in config file

Hi Ryan, If you wanted to mark squiggles under unknown commands, then the first step would be to make sure your lexer has all known commands getting tokenized. Then use some general identifier-l...

View Article


Re: Flag lines not covered in config file

Sounds like a great solution if I understood what you were saying, you lost me at IParser. I am sure this is covered in the sample code but I have found it a little difficult with the one sample t...

View Article

Re: Flag lines not covered in config file

Hi Ryan, Take a look at the "Getting Started #2" QuickStart. It shows a very basic example of an IParser implementation. Assuming you have a lexer in place to tokenize the text text already, th...

View Article


Re: Flag lines not covered in config file

That sounds like what I am looking for. Not sure where to find the "Getting Started #2" It could be because I am using an old version 4.0. I have tried the below. At application start a c...

View Article

Re: Flag lines not covered in config file

Hi Ryan, Ahh, yes we have a lot more documentation and samples with the newer APIs in the most recent version. Things weren't quite as straightforward compared to the most recent version, nor di...

View Article


.net 5

Are there plans to support .net 5 (.net core 5) as we're about to start building a new project using that and WinUI 3.

View Article

Re: .net 5

Hi David, Thanks for writing. Yes we will likely move the UWP controls to WinUI in the future, since that seems to be the path forward for the UWP platform. Right now we are focused on finishi...

View Article

WinUI 3 and dotNet Maui

Is Actipro Software going to migrate their UWP components to the new WinUI 3 when it is release? How about dotNet 6 Maui?

View Article

Re: WinUI 3 and dotNet Maui

Hi Tom, Yes, we are working with Microsoft on strategies to migrate our UWP Controls to WinUI 3. One issue there is that Win2D (which SyntaxEditor relies on) isn't yet supported in WinUI 3, but ...

View Article


Re: WinUI 3 and dotNet Maui

Thanks for the quick response. I am looking forward to the release!

View Article

Browsing latest articles
Browse All 63 View Live




Latest Images