Jump to content

TUniSyntaxEdit Bug


freedowsRoO

Recommended Posts

  • 1 year later...

Hello,

TUniSyntaxEdit has a side effect. The side effect is that it changes the default Cursor (crArrow) and changes it to (crIBeam) for the rest of the components of the entire application.

Sample 1) TuniPanel and TUniSyntaxEdit:

Look the cursor, when is over the panel it shows a clBeam.

Test1.gif.bfc6f909977989f1ee07047955b0c54e.gif

 

Sample 2) TuniPanel and TuniMemo:  

Now over the panel the cursor is crArrow 

Note: do not forget to remove from the uses clause "uniSyntaxEditorBase, uniSyntaxEditor" units that is causing the side effect.

Test2.gif.6f280a18edba5d4f3bd947acbf9316d9.gif

You can use the same test case from avobe previous post.

Can you check this please?

 

Link to comment
Share on other sites

1 hour ago, Pep said:

TUniSyntaxEdit has a side effect. The side effect is that it changes the default Cursor (crArrow) and changes it to (crIBeam) for the rest of the components of the entire application.

Hello,

But not for all controls, right?

Link to comment
Share on other sites

Yes you are right, not all controlls.

In my case it happens in TuniPanel and TuniURLFrame (which is my main component in this app).

There is a workaround? if not, don't worry, i would change the TUniSyntaxEdit by TuniMemo.

Thanks.

Link to comment
Share on other sites

Yes , with UniSyntaxEditEx the cursor works fine! 

but now I have the problem of layoutconfig of TUniSyntaxEdit:

On 3/11/2020 at 2:50 PM, freedowsRoO said:

Hello! How are you??

The TUniSyntaxEdit  has a bug that the layouconfig.width = 100% doesn't work.... I also tried to set the aligment = AlClient and doesn't work.  Can you check this please?

 It seems this CustomCSS doesn't work with UniSyntaxEditEx :

On 3/17/2020 at 5:09 AM, Sherzod said:

CustomCSS:


.CodeMirror-wrapping {
    position: relative !important;
}

 

Thanks!

Link to comment
Share on other sites

3 hours ago, Pep said:

 It seems this CustomCSS doesn't work with UniSyntaxEditEx :

On 3/17/2020 at 9:09 AM, Sherzod said:

One possible solution.

1. CustomCSS:

.CodeMirror {
    width: 100% !important;
}

2. UniSyntaxEditEx1.LayoutConfig.Width = 100%

Link to comment
Share on other sites

13 hours ago, Sherzod said:

One possible solution.

1. CustomCSS:


.CodeMirror {
    width: 100% !important;
}

2. UniSyntaxEditEx1.LayoutConfig.Width = 100%

Hello, with these parameters, "UniSyntaxEditEx", still does not fit the window correctly.

image.png.d29abc23bd8142d7f08bf489572a60e7.png

 

Attached test app in case I'm doing something wrong.

Thank you!

syntaxEdit.7z

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...