Memo Region

Memo Region - Extends SMath Studio with a Memo Region. - 消息

#1 已发布: 2014/5/3 07:49:29
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

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).
2014-05-03 17-00-34 SMath Studio Desktop - [Лист1.sm ].png
Russia ☭ forever, Viacheslav N. Mezentsev
3位用户喜欢此帖子
Martin Kraska 2014/5/3 08:03:00, ioan92 2014/6/16 08:44:00, Davide Carpi 2014/5/3 18:09:00
#2 已发布: 2014/5/3 08:14:49
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

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.



Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#3 已发布: 2014/5/3 08:31:49
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

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
2位用户喜欢此帖子
Davide Carpi 2014/5/3 18:09:00, Martin Kraska 2014/5/3 09:12:00
#4 已发布: 2014/5/3 12:36:51
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

Updated. Small improvements.
Russia ☭ forever, Viacheslav N. Mezentsev
#5 已发布: 2014/6/16 03:22:54
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

Updated.
Russia ☭ forever, Viacheslav N. Mezentsev
1位用户喜欢此帖子
Davide Carpi 2014/6/16 08:43:00
#6 已发布: 2014/6/16 09:50:12
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

引用

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.

引用

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.

引用

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
Russia ☭ forever, Viacheslav N. Mezentsev
1位用户喜欢此帖子
ioan92 2014/6/16 11:12:00
#7 已发布: 2018/9/18 14:53:35
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

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.

Wrote

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


Disabled until the better implementation.
Russia ☭ forever, Viacheslav N. Mezentsev
  • 有新帖
  • 无新帖