Writer Region Plugin

Writer Region Plugin - Provides the ability to work with formatted text inside the Worksheet. - Messages

#61 Posted: 10/14/2016 7:55:41 PM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

Good Day Davide,

I have used the "Field" functionality for a while now, in particular the "date" and the "worksheet info".

I have noticed that:

1. worksheet info field does not change if the actual smath file properties change
2. date changes the moment smath worksheets is re-opened

Is there a particulat reason for this behaviour? If you consider my suggestion worthwhile I propose to update the worksheet info fields every time the .sm file is opened to scan for changes. Also I propose to update the "date" field only when it is created or copied/cloned elsewhere - it would make sense to track the date when a particular calculation page in a .sm worksheet was created, not the current date/time at the instance of .sm file access.

Regards,

A.M.
#62 Posted: 10/16/2016 12:58:06 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Hello Alex,

Wrote

1. worksheet info field does not change if the actual smath file properties change


Yes, this is because the region is designed to have a low footprint and there isn't an event "File Properties Changed" for the worksheet; but I see that it doesn't changes even on file opening nor for region paste; I'll investigate it ASAP.

Wrote

2. date changes the moment smath worksheets is re-opened
Is there a particulat reason for this behaviour?


I suppose is matter of my habits; if I need a static date/time I write it directly or I convert the field to static text. However I realize that one might want it "less dynamic". What if I add a property for each field to drive the update? (whenever possible or just manual by context menu).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Alexander O. Melnik 10/17/2016 1:04:00 PM
#63 Posted: 10/17/2016 1:06:03 PM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

Wrote

Hello Alex,

1. worksheet info field does not change if the actual smath file properties change
Yes, this is because the region is designed to have a low footprint and there isn't an event "File Properties Changed" for the worksheet; but I see that it doesn't changes even on file opening nor for region paste; I'll investigate it ASAP.



Wrote


What if I add a property for each field to drive the update? (whenever possible or just manual by context menu).



Thank you, Davide, both tweaks will be very much welcome, if and when you have time, of course.
1 users liked this post
Davide Carpi 10/17/2016 6:24:00 PM
#64 Posted: 11/2/2016 2:57:10 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

PLUGIN UPDATED SMath Studio 0.98.5935 and later

  • Rendering logic refactored to be much more fast (smooth worksheet's scroll on huge regions or even on multiple regions intersecting the viewport);
  • Applied correction on characters' spacing to make them closer to common text editors;
  • Fields: added option to disable automatic updates;

    Show Spoiler


  • Fields: fixed Worksheet's metadata not updated on file open/region paste;
  • Spell checker import tool: dictionary packages now are loaded directly (no needs to unpack them);
  • minor fixes;
  • refactoring;
  • documentation updated;
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
3 users liked this post
sergio 11/2/2016 5:00:00 PM, Alexander O. Melnik 11/2/2016 5:08:00 PM, Ciro 12/4/2016 4:29:00 PM
#65 Posted: 1/12/2017 12:12:34 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

PLUGIN UPDATED SMath Studio 0.98.6179 and later

  • fixed performances issues on print preview;
  • added overline style (CTRL+SHIFT+O);
  • fixed text color change vs fields;
  • minor fixes;
  • refactoring;
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
3 users liked this post
Вячеслав Мезенцев 1/13/2017 1:45:00 AM, NDTM Amarasekera 1/12/2017 12:45:00 PM, sergio 1/12/2017 1:16:00 PM
#66 Posted: 3/3/2017 4:41:07 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Davide,
Under version 0.98 build 6179 (64 bit) loaded, this plugin does not work as it used to. It used to be that CTR+Shift+W would pop open a "formatting" dialog box (per post #2 "floating toolbar") like the text region utilities. Now it just opens a "text box which is the width of the sheet, but no formatting utilities. Is this because 64 bit loaded up when I upgraded?

PS Same issue with portable version I created with previous version. Can shis toolbar be placed in the side panel with the math/symbols, etc.?
PPS If I left mouse click and go to settings, the floating toolbar pops up. Is there a way to make this the default? (both desktop and portable)
#67 Posted: 3/3/2017 8:55:19 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

Davide,
Under version 0.98 build 6179 (64 bit) loaded, this plugin does not work as it used to. It used to be that CTR+Shift+W would pop open a "formatting" dialog box (per post #2 "floating toolbar") like the text region utilities. Now it just opens a "text box which is the width of the sheet, but no formatting utilities. Is this because 64 bit loaded up when I upgraded?


Really strange
Only cases in which you should notice changes are on cleaning of settings folder (but this will load the default settings, that aren't the ones listed by you) or by your choice. Please check your settings in the "More..." > "Options..." menu ("New regions" and "Environment" tabs). Settings should be saved once you click on "OK" and never change, except in cases mentioned previously.

2017-03-04 00_45_44-SMath Studio 0.98.6260 - [Page1_].png

Wrote

PS Same issue with portable version I created with previous version. Can shis toolbar be placed in the side panel with the math/symbols, etc.?


Nope. Since next SS relase should be possible to create plug-ins to have more toolboxes, but this won't be the place for Writer Region toolbars.

Show Spoiler

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
IVR 3/4/2017 1:01:00 PM
#68 Posted: 3/8/2017 8:13:00 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

PLUGIN UPDATED SMath Studio 0.98.6179 and later

  • [critical] Fixed blue bleeding worksheet on history UnDo after deleting regions;
  • [critical] Fixed regions saved as empty when data pasted on canvas and no more edited;
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 users liked this post
NDTM Amarasekera 3/8/2017 12:57:00 PM, Alexander O. Melnik 3/8/2017 11:27:00 AM
#69 Posted: 3/8/2017 9:36:53 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

My procedure Win 7, micro laptop:

1. from the insert menu => click the W symbol [insert writer region]
2. the empty rectangle appears [|]
3. click right for the drop down menu => click left "settings"
4. as you start typing in the rectangle the movable tool bar is active.

Jean
#70 Posted: 3/8/2017 11:28:07 AM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

Wrote

PLUGIN UPDATED SMath Studio 0.98.6179 and later

  • [critical] Fixed blue bleeding worksheet on history UnDo after deleting regions;
  • [critical] Fixed regions saved as empty when data pasted on canvas and no more edited;



Thank you for a prompt fix, Davide.
1 users liked this post
Davide Carpi 3/8/2017 8:38:00 PM
#71 Posted: 3/17/2017 10:57:52 AM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Jean,
Wrote

My procedure Win 7, micro laptop:

1. from the insert menu => click the W symbol [insert writer region]
2. the empty rectangle appears [|]
3. click right for the drop down menu => click left "settings"
4. as you start typing in the rectangle the movable tool bar is active.

Jean



That is the problem! The movable tool bar is active only after doing all that. It used to pop up @ step #1.
#72 Posted: 3/17/2017 11:21:16 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

The movable tool bar is active only after doing all that. It used to pop up @ step #1.


Have you tried to change your settings?

Wrote

Please check your settings in the "More..." > "Options..." menu ("New regions" and "Environment" tabs). Settings should be saved once you click on "OK" and never change, except in cases mentioned previously.

2017-03-04 00_45_44-SMath Studio 0.98.6260 - [Page1_].png

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
ElSid 3/17/2017 12:26:00 PM
#73 Posted: 3/17/2017 12:29:35 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Environmental --> Popup toolbar --> On new region.

I just did a fresh install and the setting is sticking. Need to confirm on my portable version later tonight as I left my drive at home ...
1 users liked this post
Davide Carpi 3/17/2017 12:44:00 PM
#74 Posted: 3/17/2017 10:21:52 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

That is the problem!The movable tool bar is active only after doing all that.It used to pop up @ step #1.



Once you have entered the writer region you have minimal options:
click on a word to Ctrl+B, Ctrl+U [bold, underline].
For the tool bar: click right, click left on 'settings'.
The minimal and advanced options is very ergonomic [to me].

Jean

Writer region.BMP


#75 Posted: 9/7/2017 10:53:55 AM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Wrote

PLUGIN UPDATED SMath Studio 0.98.5935 and later

  • Spell checker import tool: dictionary packages now are loaded directly (no needs to unpack them)


Davide,
Where do we download the dictionary packages?

As a request, is there a way to override the default SMath text with this plugin?

UPDATE: First post points to FF, APACHE or LibreOffice ... I am trying the LibreOffice version in English
Now, is there a way to spell check the whole document or is it region by region?
#76 Posted: 9/7/2017 3:11:36 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

UPDATE: First post points to FF, APACHE or LibreOffice ...I am trying the LibreOffice version in English


Yes, some links are in the documentation file

Wrote

Now, is there a way to spell check the whole document or is it region by region?


Nope, region-by-region, at least for now. I've plans for this.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#77 Posted: 11/10/2017 11:57:18 AM
pierre

pierre

2 likes in 17 posts.

Group: User

First,

Thanks a lots for this amazing pluggin.

I have two little problems with the Pluggin.

First, when i hopen the *.sm file with notepad and save it, it can't open the file with Smath.
Secondly, if i set as default profile a paragraph with indentation, it creates an error for the copy paste.

It is not a big issue for me, but i just wanted to raise the problems.

Thanks again for your work.
#78 Posted: 11/10/2017 1:38:05 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

First,

Thanks a lots for this amazing pluggin.

I have two little problems with the Pluggin.

First, when i hopen the *.sm file with notepad and save it, it can't open the file with Smath.
Secondly, if i set as default profile a paragraph with indentation, it creates an error for the copy paste.

It is not a big issue for me, but i just wanted to raise the problems.

Thanks again for your work.



Thank you for reporting these issues

Can you attach a small example of file that you cannot save with notepad? It is enough to open and save it to trigger the issue or you have to edit it?
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#79 Posted: 11/13/2017 8:34:40 AM
pierre

pierre

2 likes in 17 posts.

Group: User

Hi david,

I have checked at work, the following thing:

Test 1 : I create an empty spread sheet, create writter region with no indentation, save the doc, create a new empty doc, and copy paste the:
Quote


Test
]]>


It works

Test 2 : I create an empty spread sheet, create writter region with indentation, save the doc, create a new empty doc, and copy paste the
Quote



Test
]]>


It works
Test 3: I create an empty spread sheet, create writter region with indentation, set the setting as default style, Create a new region, save the doc, i cant open it again. The code of the second region is
Quote



test2
]]>


If i delete this part of the file, i can't open the doc again, But if i delete the property ; margin-left: 36pt; it works.

TL;TR The difference is the following:
Quote



style="margin-left: 36pt">Test
]]>


; margin-left: 36pt; line-height: 115%">
test2
]]>



I hope it helps,

And sorry for my poor english
1 users liked this post
Davide Carpi 11/14/2017 4:55:00 AM
#80 Posted: 12/22/2017 12:58:25 PM
Nicolae Olaru

Nicolae Olaru

1 likes in 115 posts.

Group: User

Greetings.

In MathCAD, it is possible to obtain symbols consisting of two (or more) words separated by the pause, as in the attached picture. The practical way I have identified for this purpose is to copy the two (or more) words from a text region and place them in the first empty field of equality of definition. My question is: Is there similar feature in SMath? If so, how to proceed?
Ex.png

All the best.
  • New Posts New Posts
  • No New Posts No New Posts