This is a migrated thread and some comments may be shown as answers.

XML highlighting is not always correct

11 Answers 84 Views
SyntaxEditor
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Patrick asked on 22 Oct 2019, 12:00 PM

Hello,

Look at the included screenshots. As you can see, when the end of an attribute is outside the current view, the value is in black, not in blue. When the view is scrolled horizontally, it suddenly becomes blue, when the scroll returns to the left, it becomes black again!

11 Answers, 1 is accepted

Sort by
0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 22 Oct 2019, 12:21 PM

Hello,

More information: I also have data that is not correctly highlighted where the attributes is fully visible in the current view.

If necessary, I can give you examples in a private message.

0
Martin Ivanov
Telerik team
answered on 25 Oct 2019, 11:50 AM

Hello Patrick,

Thank you for the report. It turns out that this is an issue with the XmlTagger, so I logged it our feedback portal where you can track its status. I also updated your Telerik points.

Regards,
Martin Ivanov
Progress Telerik

Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 20 Jan 2020, 10:32 AM

Hello Martin,

In the status and the release notes of the R1 2020 version, this is marked as fixed, but there are still problems, as you can see in the attached screenshot.

0
Martin Ivanov
Telerik team
answered on 23 Jan 2020, 07:41 AM

Hello Patrick,

It seems that there are still some issue with this. We will investigate what happens.

Can you share the document (or the text) that reproduces the output from your picture, so we can use it for testing?

Regards,
Martin Ivanov
Progress Telerik

Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 23 Jan 2020, 07:44 AM

Hello Martin,

here is the XML code that shows the problem when scrolling to the right:

<Responses>
  <Confederations NbItems="5" Version="2">
    <Confederation Address1="Room No.1 – 2, 12thFloor, Main Building, Sports Authority of Thailand " Address2="286 Ramkhamhaeng Road, Huamark, Bangkapi" City="Bangkok 10240" Code="AVC" CountryCode="TH" eMailAddress="champvbt@gmail.com" FaxNo="+662-136 2864" Name="ASIAN VOLLEYBALL CONFEDERATION" NamePresident="BIN NASSER Saleh Ahmad" No="1" PhoneNo="+662-136 2861-3" State="" VolleyTransferLevels="<TransferLevels>   <TransferLevel Level="1" Name="Highest" />   <TransferLevel Level="2" Name="2nd Highest" />   <TransferLevel Level="3" Name="3rd Highest" />   <TransferLevel Level="4" Name="Lower" /> </TransferLevels>" WebSite="http://asianvolleyball.net/" ZipCode="" Version="1" />
    <Confederation Address1="26, rue Ahmed Taiseer" Address2="" City="LE CAIRE" Code="CAVB" CountryCode="EG" eMailAddress="cavb@link.net" FaxNo="+202 (2) 748 16 70 Pdt Elwani Home" Name="CONFEDERATION AFRICAINE" NamePresident="ELWANI Amr M." No="2" PhoneNo="+202 (2) 414 4852" State="" VolleyTransferLevels="<TransferLevels>   <TransferLevel Level="1" Name="Highest" />   <TransferLevel Level="2" Name="2nd Highest" />   <TransferLevel Level="3" Name="3rd Highest" />   <TransferLevel Level="4" Name="Lower" /> </TransferLevels>" WebSite="http://www.cavb.org/" ZipCode="" Version="1" />
    <Confederation Address1="9, Rue Laach" Address2="" City="L- 6945 NIEDERANVEN" Code="CEV" CountryCode="LU" eMailAddress="transfers@cev.eu" FaxNo="+352 34 15 29  H" Name="CONFEDERATION EUROPEENNE" NamePresident="MEYER André" No="3" PhoneNo="+352 34 81 93  H" State="" VolleyTransferLevels="<TransferLevels>   <TransferLevel Level="1" Name="Highest" />   <TransferLevel Level="2" Name="2nd Highest" />   <TransferLevel Level="3" Name="3rd Highest" />   <TransferLevel Level="4" Name="Lower" /> </TransferLevels>" WebSite="http://www.cev.eu/" ZipCode="" Version="2" />
    <Confederation Address1="Av. das Américas No 700, Bloco 6, Sala 232" Address2="" City="202640-100 RIO DE JANEIRO" Code="CSV" CountryCode="BR" eMailAddress="info@voleysur.org" FaxNo="+55 21 2493 1179" Name="CONFEDERACION SUDAMERICANA" NamePresident="LLOREDA CURREA Rafael" No="4" PhoneNo="+55 21 2132 7255" State="" VolleyTransferLevels="<TransferLevels>   <TransferLevel Level="1" Name="Highest" />   <TransferLevel Level="2" Name="2nd Highest" />   <TransferLevel Level="3" Name="3rd Highest" />   <TransferLevel Level="4" Name="Lower" /> </TransferLevels>" WebSite="http://www.voleysur.org/" ZipCode="" Version="1" />
    <Confederation Address1="Pabellon de Voleibol, 3era planta" Address2="" City="SANTO DOMINGO" Code="NORCECA" CountryCode="DO" eMailAddress="norcecaorgdom@yahoo.es" FaxNo="+1 809 227 32 42 NORCECA" Name="NORCECA" NamePresident="MARTE HOFFIZ Cristóbal" No="5" PhoneNo="+1 809 472 15 47 Pdt" State="" VolleyTransferLevels="<TransferLevels>   <TransferLevel Level="1" Name="Highest" />   <TransferLevel Level="2" Name="2nd Highest" />   <TransferLevel Level="3" Name="3rd Highest" />   <TransferLevel Level="4" Name="Lower" /> </TransferLevels>" WebSite="http://www.norceca.org/" ZipCode="" Version="2" />
  </Confederations>
</Responses>

 

Also, I think that the fold/unfold button looks ugly on my PC.

0
Martin Ivanov
Telerik team
answered on 27 Jan 2020, 10:47 PM

Hi Patrick,

Thank you for the code. We will test it on our side and see how to improve the control.

 

Regards,
Martin Ivanov
Progress Telerik

Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Martin Ivanov
Telerik team
answered on 05 Feb 2020, 03:07 PM

Hello Patrick,

We have logged a new report about this in the feedback portal. You can follow it there. Also, you can find your Telerik points updated.

Regards,
Martin Ivanov
Progress Telerik

Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 29 Apr 2021, 06:59 AM

Hello Martin,

This bug is marked as completed, but there are still problems with latest (2021.1.325.45), depending on the horizontal scrolling.

See the attached screen shot taken with the following XML text:


<Responses>
  <VolleyballMatch AcquisitionMethod="6" AssistantScorerCountryCode="" AssistantScorerFirstName="" AssistantScorerLastName="" BeginDateTimeUtc="" BuyTicketsUrl="" City="TBC" CountryCode="US" CountryName="United States" DateLocal="2021-05-14" DateTimeLocal="2021-05-14T16:00:00" DateTimeUtc="2021-05-14T21:00:00Z" Difficulty="1" DifficultyRemarks="" DurationSet1="" DurationSet2="" DurationSet3="" DurationSet4="" DurationSet5="" DurationSet6="" DurationSet7="" DurationTotal="" EndDateTimeUtc="" EndTime="" Format="1" FullDuration="" Hall="TBC" HasLiveData="0" IsFreeEntrance="0" IsVtsAvailable="0" LastChangeDT="2020-10-07T13:03:19Z" LastChangeUser="" LineJudge1CountryCode="" LineJudge1FirstName="" LineJudge1LastName="" LineJudge2CountryCode="" LineJudge2FirstName="" LineJudge2LastName="" LineJudge3CountryCode="" LineJudge3FirstName="" LineJudge3LastName="" LineJudge4CountryCode="" LineJudge4FirstName="" LineJudge4LastName="" LiveScoreFromScoresheet="1" LiveStreamUri="" LoserRank="0" MatchPointsA="" MatchPointsB="" MatchResultText="" NbSets="" NbSpectators="" No="11700" NoConfederation="" NoDocumentP2="" NoDocumentScoresheet="" NoEvent="1006" NoInjuriesForTeamA="0" NoInjuriesForTeamB="0" NoInTournament="1" NoPool="3014" NoPoolRound="199" NoReferee1="" NoReferee2="" NoRefereeChallenge="" NoRefereeDelegate="" NoRefereeReserve="0" NoTeamA="4660" NoTeamB="4658" NoTournament="1217" PointsTeamASet1="" PointsTeamASet2="" PointsTeamASet3="" PointsTeamASet4="" PointsTeamASet5="" PointsTeamASet6="" PointsTeamASet7="" PointsTeamBSet1="" PointsTeamBSet2="" PointsTeamBSet3="" PointsTeamBSet4="" PointsTeamBSet5="" PointsTeamBSet6="" PointsTeamBSet7="" PoolCode="1" PoolName="Week 1" PoolOrder="1" PoolRoundCode="P" PoolRoundName="Preliminary Round" Referee1FederationCode="" Referee1Name="" Referee2FederationCode="" Referee2Name="" ResultType="0" ResultTypeText="" ScheduleInfo="4" ScorerCountryCode="" ScorerFirstName="" ScorerLastName="" Season="2021" SetsResultsText="" Status="1" StatusText="Scheduled" TeamACalculatedCode="BRA" TeamACalculatedName="Brazil" TeamACode="BRA" TeamALiberoUniformColor="" TeamAName="Brazil" TeamAShirtColor="" TeamAText="" TeamBCalculatedCode="ARG" TeamBCalculatedName="Argentina" TeamBCode="ARG" TeamBLiberoUniformColor="" TeamBName="Argentina" TeamBShirtColor="" TeamBText="" TeamCodeA="BRA" TeamCodeB="ARG" TeamNameA="Brazil" TeamNameB="Argentina" TimeLocal="16:00:00" TournamentCode="MVNL2021" WinnerRank="0" Version="6192391" />
  <VolleyLive PollDelay="20" Version="6192392">
    <Match No="11700" Status="1" NoTeamA="4660" NoTeamB="4658" />
    <Tournament Code="MVNL2021" Name="FIVB Volleyball Nations League - Men" No="1217" />
    <Pool Code="1" Name="Week 1" No="3014" />
    <Team Code="BRA" Name="Brazil" No="4660" />
    <Team Code="ARG" Name="Argentina" No="4658" />
  </VolleyLive>
  <Documents NbItems="0" />
</Responses>

Martin Ivanov
Telerik team
commented on 03 May 2021, 09:09 AM

Thank you Patrick. I forwarded this to the development team.
0
Petar Mladenov
Telerik team
answered on 05 May 2021, 10:02 AM

Hi Patrick,

The root cause if this issue is that only the visible part of the text line is processed for matching with regexes which categorize the different XML elements. This is originally implemented for performance reasons in scenarios with long (wide) text documents. We closed the issue but we have forgotten to write the resolution. You can use the ShouldTaggersProcessEntireLines (False) property of the RadSyntaxEditor in your scenario. However , please keep in mid this might effect scrolling performance in big documents.

Regards,
Petar Mladenov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 05 May 2021, 11:49 AM

High Petar,

Thant you for your answer.

But there remains a (big?) problem, the ShouldTaggersProcessEntireLines property doesn't exist on RadSyntaxEditor...
Will it be available in a new version?

Finally, from the name of the property, I think I should set it to True, not to False, no?

0
Petar Mladenov
Telerik team
answered on 05 May 2021, 12:20 PM

Hello Patrick,

Yes property needs to be set to True, my fault. It is available in internal builds starting from 1. Mar 2021. If you need major version, you will be able to use 

R2 2021 which will be available for download next week.

Regards,
Petar Mladenov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
SyntaxEditor
Asked by
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Martin Ivanov
Telerik team
Petar Mladenov
Telerik team
Share this question
or