Memo Region

Memo Region - Extends SMath Studio with a Memo Region. - Сообщения

#1 Опубликовано: 03.05.2014 07:49:29
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 03.05.2014 08:03:00, ioan92 16.06.2014 08:44:00, Davide Carpi 03.05.2014 18:09:00
#2 Опубликовано: 03.05.2014 08:14:49
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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.



Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Опубликовано: 03.05.2014 08:31:49
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 03.05.2014 18:09:00, Martin Kraska 03.05.2014 09:12:00
#4 Опубликовано: 03.05.2014 12:36:51
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Updated. Small improvements.
Russia ☭ forever, Viacheslav N. Mezentsev
#5 Опубликовано: 16.06.2014 03:22:54
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Updated.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Davide Carpi 16.06.2014 08:43:00
#6 Опубликовано: 16.06.2014 09:50:12
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 16.06.2014 11:12:00
#7 Опубликовано: 18.09.2018 14:53:35
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений