Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline uni  
#1 Posted : 03 May 2014 14:49:29(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Memo Region

SMath Studio compatibility SMath Viewer compatibility mono compatibility Extension page Sources


Memo control based on Regions.Control and FastColorerTextBoxCF. Used as an example of the region without a place holder.

Short keys:

Ctrl + A - Select All
Ctrl + C - Copy
Ctrl + V - Paste
Ctrl + X - Cut
Ctrl + U - Upper/Lower Case

Ctrl + Left|Right
Ctrl + Shift + Left|Right
Ctrl + Home
Ctrl + End

Links:

1. Fast Colored TextBox for Syntax Highlighting (Pavel Torgashov).

Edited by user 01 November 2020 00:12:35(UTC)  | Reason: Not specified

uni attached the following image(s):
2014-05-03 17-00-34 SMath Studio Desktop - [Лист1.sm ].png
Russia ☭ forever
Viacheslav N. Mezentsev
thanks 3 users thanked uni for this useful post.
on 03/05/2014(UTC),  on 04/05/2014(UTC),  on 16/06/2014(UTC)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline mkraska  
#2 Posted : 03 May 2014 15:14:49(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Is there a chance for a general rtf region which calls an appropriate editor upon double click either in place or in a separate window? That could partly adress SS-47.



Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline uni  
#3 Posted : 03 May 2014 15:31:49(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
All these editors are based on RichEdit control, which has their own canvas for drawing. We can't use it due to the fact that the components do not support this capability. The only way - do it yourself, like I do it. Another way - wait until Andrey change the input method for the SMath worksheet (he thinks about it).
Other methods will not be portable I think.
Russia ☭ forever
Viacheslav N. Mezentsev
thanks 2 users thanked uni for this useful post.
on 03/05/2014(UTC),  on 04/05/2014(UTC)
Offline uni  
#4 Posted : 03 May 2014 19:36:51(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Updated. Small improvements.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline uni  
#5 Posted : 16 June 2014 10:22:54(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Updated.
Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 16/06/2014(UTC)
Offline uni  
#6 Posted : 16 June 2014 16:50:12(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Quote:
It reacts at the font size changement but it seems adapted only for font size 10 ?

You can change font with mouse wheel and Control key when region selected.

Quote:
In the source that you had indicated it seems that the fonts and the colors (text and background) can be handled (?).

This is not entirely true. Component has no internal data to store information about the properties of the text. Syntax highlighting is performed on the fly. You can not arbitrarily change the color, etc. The only thing what you can do - create highlighting rules.

Quote:
Is it imaginable to control this propeties in a similar way as in Davide's plugins (buttons, combobox etc.) ?

I need to see this. If you talk about the properties of the text, as I said above can't modify them.

Not everything works as it should.

Short keys:

Ctrl + A - Select All
Ctrl + C - Copy
Ctrl + V - Paste
Ctrl + X - Cut
Ctrl + U - Upper/Lower Case

Ctrl + Left|Right
Ctrl + Shift + Left|Right
Ctrl + Home
Ctrl + End

Edited by user 16 June 2014 17:15:31(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 16/06/2014(UTC)
Offline uni  
#7 Posted : 18 September 2018 20:53:35(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Updated. Version 0.2.x.x.

Changes:
- xml serialization format changed;
- reworked.

Old versions of the plugin will not be able to open files of a new format.

Originally Posted by: uni Go to Quoted Post
You can change font with mouse wheel and Control key when region selected.

Disabled until the better implementation.

Edited by user 18 September 2018 20:56:17(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.