Jump to content

Recommended Posts

Posted

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?

Posted

Hello, 

Fine, thank you. And you? 

1 hour ago, freedowsRoO said:

The TUniSyntaxEdit  has a bug

Which build are you using? Can you make a simple testcase for reproduce? 

  • Like 1
Posted
On 3/11/2020 at 6:50 PM, freedowsRoO said:

Can you check this please?

Hello,

Maybe something like this at the moment?

CustomCSS:

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

 

  • Like 1
Posted
17 hours ago, Sherzod said:

Hello,

Maybe something like this at the moment?

CustomCSS:


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

 

Yep!! It works! Thanks!

  • 1 year later...
Posted

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?

 

Posted
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?

Posted

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.

Posted
7 minutes ago, Pep said:

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

Hello,

Can you use UniSyntaxEditEx instead?

Posted

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!

Posted
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%

Posted
3 hours ago, Pep said:

 It seems this CustomCSS doesn't work with UniSyntaxEditEx :

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

Or just use:

UniSyntaxEditEx1.LayoutConfig.Width = 100%

Posted
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

Posted
56 minutes ago, Pep said:

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

Well that's right, it only affects the width.

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...