Hi Chris,

concerning the criteria for the determination of the longness of a node,
in the bug report
http://sourceforge.net/tracker/index.php?func=detail&aid=1875776&group_id=7118&atid=107118
I suggest a patch:

- // if the node is not already html, we ask if rich text or plain text
edit.
- if(!isHtmlNode && editDefinitivelyLong) {
+ // if the node is not already long, we ask if rich text or plain text
edit.
+ if(!node.getIsLong() && editDefinitivelyLong) {

What's wrong with this? Isn't the getIsLong function just what we look for?

Thanks, Eric

Christian Foltin (GMX) said:
> Hi Dimitry,
>
> there is one problem: it is not stored not clear whether or not a node
> is a long node or not.
> In other words: the decision "using formatting or not?" is asked for
> non-html nodes every time
> the editor is opened as it cannot be stored currently.
> Two solutions: store the fact, that it is a long node or develop
> criteria for the determination
> of the "longness" of a node.
>
>>From my point of view, the user should decide once for a longer time
> what he wants to do: html like probably most of our users and perhaps
> non-html for the power users that want to store as much text as possible
> without markup. After two or three of this decisions, he would press
> "Don't ask me again" and everything is fine (my opinion, I repeat).
> Perhaps, we should make html as the default from the beginning, and let
> the rest for the power users (ie. go to the preferences and switch the
> decision off, etc.)
>
> Chris
>
> Dimitry Polivaev schrieb:
>>> I think I made a similar comment some time back. Once someone has
>>> decided a particular node should be a long node, it should stay that
>>> way. Although, we should provide a way to change it to a short node
>>> later. But I agree, once a decision has been made, we shouldn't keep
>>> asking the question. It goes against the concept of making the use of
>>> FreeMind as streamlined as possible.
>>>
>>
>> I support the requests. Chris couldn't you join the discussion or just
>> improve the implementation?
>>
>> Dimitry


-- 
Eric de France, d'Allemagne et de Navarre

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freemind-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemind-developer

Reply via email to