[Freeswitch-docs] Confluence Code Macro - wordwrap
Bote, Can you check if the code macro is configured to do wordwrap by default? I don't have the right permissions to do it, you can check this on the plugin configuration. We need to enable the wordwrap on this dependencies box: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#Fr...
I am certain that it does NOT do word wrap, but it does create a horizontal scroll bar if a line is wider than your viewport. This is intentional and I don’t think that it can be changed. Perhaps a Panel would be a better control? Or even a Column nested inside a Section? A Confluence column can be specified to a percentage width or a pixel width and automatically wrap. Hope this helps. Bote From: freeswitch-docs-bounces@lists.freeswitch.org [mailto:freeswitch-docs-bounces@lists.freeswitch.org] On Behalf Of Ítalo Rossi Sent: Thursday, 23 April, 2015 09:42 To: FreeSWITCH Docs Team Subject: [Freeswitch-docs] Confluence Code Macro - wordwrap Bote, Can you check if the code macro is configured to do wordwrap by default? I don't have the right permissions to do it, you can check this on the plugin configuration. We need to enable the wordwrap on this dependencies box: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#Fr...
This was added to recent confluence version (3.2 I think), and there's improvements in > 4.0. https://jira.atlassian.com/browse/CONF-10697 On Thu, Apr 23, 2015 at 3:18 PM, Bote Man <bote_radio@botecomm.com> wrote:
I am certain that it does NOT do word wrap, but it does create a horizontal scroll bar if a line is wider than your viewport. This is intentional and I don’t think that it can be changed.
Perhaps a Panel would be a better control?
Or even a Column nested inside a Section? A Confluence column can be specified to a percentage width or a pixel width and automatically wrap.
Hope this helps.
Bote
*From:* freeswitch-docs-bounces@lists.freeswitch.org [mailto: freeswitch-docs-bounces@lists.freeswitch.org] *On Behalf Of *Ítalo Rossi *Sent:* Thursday, 23 April, 2015 09:42 *To:* FreeSWITCH Docs Team *Subject:* [Freeswitch-docs] Confluence Code Macro - wordwrap
Bote,
Can you check if the code macro is configured to do wordwrap by default?
I don't have the right permissions to do it, you can check this on the plugin configuration.
We need to enable the wordwrap on this dependencies box:
https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#Fr...
_______________________________________________ Freeswitch-docs mailing list Freeswitch-docs@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs
-- Ítalo Rossi
Code that wraps to the next line can be confusing to read. I don’t understand what you are trying to accomplish. Please explain. Thanks. Bote From: freeswitch-docs-bounces@lists.freeswitch.org [mailto:freeswitch-docs-bounces@lists.freeswitch.org] On Behalf Of Ítalo Rossi Sent: Saturday, 25 April, 2015 20:44 To: FreeSWITCH Docs Team Subject: Re: [Freeswitch-docs] Confluence Code Macro - wordwrap This was added to recent confluence version (3.2 I think), and there's improvements in > 4.0. https://jira.atlassian.com/browse/CONF-10697 On Thu, Apr 23, 2015 at 3:18 PM, Bote Man <bote_radio@botecomm.com> wrote: I am certain that it does NOT do word wrap, but it does create a horizontal scroll bar if a line is wider than your viewport. This is intentional and I don’t think that it can be changed. Perhaps a Panel would be a better control? Or even a Column nested inside a Section? A Confluence column can be specified to a percentage width or a pixel width and automatically wrap. Hope this helps. Bote From: freeswitch-docs-bounces@lists.freeswitch.org [mailto:freeswitch-docs-bounces@lists.freeswitch.org] On Behalf Of Ítalo Rossi Sent: Thursday, 23 April, 2015 09:42 To: FreeSWITCH Docs Team Subject: [Freeswitch-docs] Confluence Code Macro - wordwrap Bote, Can you check if the code macro is configured to do wordwrap by default? I don't have the right permissions to do it, you can check this on the plugin configuration. We need to enable the wordwrap on this dependencies box: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#Fr... _______________________________________________ Freeswitch-docs mailing list Freeswitch-docs@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs -- Ítalo Rossi
it's for a very long apt-get install line On Saturday, April 25, 2015, Bote Man <bote_radio@botecomm.com> wrote:
Code that wraps to the next line can be confusing to read.
I don’t understand what you are trying to accomplish. Please explain.
Thanks.
Bote
*From:* freeswitch-docs-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-docs-bounces@lists.freeswitch.org');> [mailto:freeswitch-docs-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-docs-bounces@lists.freeswitch.org');>] *On Behalf Of *Ítalo Rossi *Sent:* Saturday, 25 April, 2015 20:44 *To:* FreeSWITCH Docs Team *Subject:* Re: [Freeswitch-docs] Confluence Code Macro - wordwrap
This was added to recent confluence version (3.2 I think), and there's improvements in > 4.0.
https://jira.atlassian.com/browse/CONF-10697
On Thu, Apr 23, 2015 at 3:18 PM, Bote Man <bote_radio@botecomm.com <javascript:_e(%7B%7D,'cvml','bote_radio@botecomm.com');>> wrote:
I am certain that it does NOT do word wrap, but it does create a horizontal scroll bar if a line is wider than your viewport. This is intentional and I don’t think that it can be changed.
Perhaps a Panel would be a better control?
Or even a Column nested inside a Section? A Confluence column can be specified to a percentage width or a pixel width and automatically wrap.
Hope this helps.
Bote
*From:* freeswitch-docs-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-docs-bounces@lists.freeswitch.org');> [mailto:freeswitch-docs-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-docs-bounces@lists.freeswitch.org');>] *On Behalf Of *Ítalo Rossi *Sent:* Thursday, 23 April, 2015 09:42 *To:* FreeSWITCH Docs Team *Subject:* [Freeswitch-docs] Confluence Code Macro - wordwrap
Bote,
Can you check if the code macro is configured to do wordwrap by default?
I don't have the right permissions to do it, you can check this on the plugin configuration.
We need to enable the wordwrap on this dependencies box:
https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#Fr...
_______________________________________________ Freeswitch-docs mailing list Freeswitch-docs@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','Freeswitch-docs@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs
--
Ítalo Rossi
That is precisely the kind of thing that the reader will copy and paste into his terminal session. The scroll bar allows him to view everything on the long line, if he is even bothering to look at it. I bet most people just copy and paste it. If it wraps won’t that cause problems with the paste operation? The ssh session will interpret the wraps as newlines? If he wants to modify the packages he can paste it into vi or emacs and edit it, then paste it. I’m not seeing the problem? Besides, a panel macro will wrap text inside it so they already have that capability. Bote From: freeswitch-docs-bounces@lists.freeswitch.org [mailto:freeswitch-docs-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Saturday, 25 April, 2015 20:52 To: FreeSWITCH Docs Team Subject: Re: [Freeswitch-docs] Confluence Code Macro - wordwrap it's for a very long apt-get install line On Saturday, April 25, 2015, Bote Man <bote_radio@botecomm.com> wrote: Code that wraps to the next line can be confusing to read. I don’t understand what you are trying to accomplish. Please explain. Thanks. Bote From: freeswitch-docs-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-docs-bounces@lists.freeswitch.org');> [mailto:freeswitch-docs-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-docs-bounces@lists.freeswitch.org');> ] On Behalf Of Ítalo Rossi Sent: Saturday, 25 April, 2015 20:44 To: FreeSWITCH Docs Team Subject: Re: [Freeswitch-docs] Confluence Code Macro - wordwrap This was added to recent confluence version (3.2 I think), and there's improvements in > 4.0. https://jira.atlassian.com/browse/CONF-10697 On Thu, Apr 23, 2015 at 3:18 PM, Bote Man <bote_radio@botecomm.com <javascript:_e(%7B%7D,'cvml','bote_radio@botecomm.com');> > wrote: I am certain that it does NOT do word wrap, but it does create a horizontal scroll bar if a line is wider than your viewport. This is intentional and I don’t think that it can be changed. Perhaps a Panel would be a better control? Or even a Column nested inside a Section? A Confluence column can be specified to a percentage width or a pixel width and automatically wrap. Hope this helps. Bote From: freeswitch-docs-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-docs-bounces@lists.freeswitch.org');> [mailto:freeswitch-docs-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-docs-bounces@lists.freeswitch.org');> ] On Behalf Of Ítalo Rossi Sent: Thursday, 23 April, 2015 09:42 To: FreeSWITCH Docs Team Subject: [Freeswitch-docs] Confluence Code Macro - wordwrap Bote, Can you check if the code macro is configured to do wordwrap by default? I don't have the right permissions to do it, you can check this on the plugin configuration. We need to enable the wordwrap on this dependencies box: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#Fr... _______________________________________________ Freeswitch-docs mailing list Freeswitch-docs@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','Freeswitch-docs@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs -- Ítalo Rossi
https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#Fr... This list is getting longer and it's changing a lot since we're adding and removing dependencies. It's easier to see if one dependency is already there or not if this line is word wrapped, it's a work in progress list and we need some facility while working with it. I've tried to insert into a panel but it was weird, maybe I missed anything. Even with word wrap enabled if the user double click the code block all the text will be copied to the keyboard transfer area as one single line (in fact it really is), like this gmail mail composer. The wrap is just a css property, it won't insert newlines (as far as I know ;) ). On Sat, Apr 25, 2015 at 10:11 PM, Bote Man <bote_radio@botecomm.com> wrote:
That is precisely the kind of thing that the reader will copy and paste into his terminal session. The scroll bar allows him to view everything on the long line, if he is even bothering to look at it. I bet most people just copy and paste it.
If it wraps won’t that cause problems with the paste operation? The ssh session will interpret the wraps as newlines?
If he wants to modify the packages he can paste it into vi or emacs and edit it, then paste it.
I’m not seeing the problem?
Besides, a panel macro will wrap text inside it so they already have that capability.
Bote
*From:* freeswitch-docs-bounces@lists.freeswitch.org [mailto: freeswitch-docs-bounces@lists.freeswitch.org] *On Behalf Of *Michael Jerris *Sent:* Saturday, 25 April, 2015 20:52
*To:* FreeSWITCH Docs Team *Subject:* Re: [Freeswitch-docs] Confluence Code Macro - wordwrap
it's for a very long apt-get install line
On Saturday, April 25, 2015, Bote Man <bote_radio@botecomm.com> wrote:
Code that wraps to the next line can be confusing to read.
I don’t understand what you are trying to accomplish. Please explain.
Thanks.
Bote
*From:* freeswitch-docs-bounces@lists.freeswitch.org [mailto: freeswitch-docs-bounces@lists.freeswitch.org] *On Behalf Of *Ítalo Rossi *Sent:* Saturday, 25 April, 2015 20:44 *To:* FreeSWITCH Docs Team *Subject:* Re: [Freeswitch-docs] Confluence Code Macro - wordwrap
This was added to recent confluence version (3.2 I think), and there's improvements in > 4.0.
https://jira.atlassian.com/browse/CONF-10697
On Thu, Apr 23, 2015 at 3:18 PM, Bote Man <bote_radio@botecomm.com> wrote:
I am certain that it does NOT do word wrap, but it does create a horizontal scroll bar if a line is wider than your viewport. This is intentional and I don’t think that it can be changed.
Perhaps a Panel would be a better control?
Or even a Column nested inside a Section? A Confluence column can be specified to a percentage width or a pixel width and automatically wrap.
Hope this helps.
Bote
*From:* freeswitch-docs-bounces@lists.freeswitch.org [mailto: freeswitch-docs-bounces@lists.freeswitch.org] *On Behalf Of *Ítalo Rossi *Sent:* Thursday, 23 April, 2015 09:42 *To:* FreeSWITCH Docs Team *Subject:* [Freeswitch-docs] Confluence Code Macro - wordwrap
Bote,
Can you check if the code macro is configured to do wordwrap by default?
I don't have the right permissions to do it, you can check this on the plugin configuration.
We need to enable the wordwrap on this dependencies box:
https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#Fr...
_______________________________________________ Freeswitch-docs mailing list Freeswitch-docs@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs
--
Ítalo Rossi
_______________________________________________ Freeswitch-docs mailing list Freeswitch-docs@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs
-- Ítalo Rossi
On 25 April 2015 at 19:02, Ítalo Rossi <italorossib@gmail.com> wrote:
This list is getting longer and it's changing a lot since we're adding and removing dependencies. It's easier to see if one dependency is already there or not if this line is word wrapped, it's a work in progress list and we need some facility while working with it.
I'd prefer word wrapping at 80 characters. I'm pretty sure backslashes can be used in the cli for a new line so it can make it more readable, but I don't know what it would look like on the confluence thin. -- ------- inum: 883510009027723 sip: jungleboogie@sip2sip.info xmpp: jungle-boogie@jit.si
OK, start wrappin! After a couple iterations I discovered the secret sauce is: code { white-space: pre-wrap; } In the global stylesheet. Because of the warning notice that Confluence has in that management section I have no confidence that this won’t mess up something else, but at least it makes the code macro boxes wrap text inside them, no more scroll bars. Keep your eyes peeled for other strange styling as a result of this change. I think it makes it harder to read, but if it makes your job easier then it is worth it. J Bote From: freeswitch-docs-bounces@lists.freeswitch.org [mailto:freeswitch-docs-bounces@lists.freeswitch.org] On Behalf Of Ítalo Rossi Sent: Saturday, 25 April, 2015 22:02 To: FreeSWITCH Docs Team Subject: Re: [Freeswitch-docs] Confluence Code Macro - wordwrap https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#Fr... This list is getting longer and it's changing a lot since we're adding and removing dependencies. It's easier to see if one dependency is already there or not if this line is word wrapped, it's a work in progress list and we need some facility while working with it. I've tried to insert into a panel but it was weird, maybe I missed anything. Even with word wrap enabled if the user double click the code block all the text will be copied to the keyboard transfer area as one single line (in fact it really is), like this gmail mail composer. The wrap is just a css property, it won't insert newlines (as far as I know ;) ). On Sat, Apr 25, 2015 at 10:11 PM, Bote Man <bote_radio@botecomm.com> wrote: That is precisely the kind of thing that the reader will copy and paste into his terminal session. The scroll bar allows him to view everything on the long line, if he is even bothering to look at it. I bet most people just copy and paste it. If it wraps won’t that cause problems with the paste operation? The ssh session will interpret the wraps as newlines? If he wants to modify the packages he can paste it into vi or emacs and edit it, then paste it. I’m not seeing the problem? Besides, a panel macro will wrap text inside it so they already have that capability. Bote From: freeswitch-docs-bounces@lists.freeswitch.org [mailto:freeswitch-docs-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Saturday, 25 April, 2015 20:52 To: FreeSWITCH Docs Team Subject: Re: [Freeswitch-docs] Confluence Code Macro - wordwrap it's for a very long apt-get install line On Saturday, April 25, 2015, Bote Man <bote_radio@botecomm.com> wrote: Code that wraps to the next line can be confusing to read. I don’t understand what you are trying to accomplish. Please explain. Thanks. Bote From: freeswitch-docs-bounces@lists.freeswitch.org [mailto:freeswitch-docs-bounces@lists.freeswitch.org] On Behalf Of Ítalo Rossi Sent: Saturday, 25 April, 2015 20:44 To: FreeSWITCH Docs Team Subject: Re: [Freeswitch-docs] Confluence Code Macro - wordwrap This was added to recent confluence version (3.2 I think), and there's improvements in > 4.0. https://jira.atlassian.com/browse/CONF-10697 On Thu, Apr 23, 2015 at 3:18 PM, Bote Man <bote_radio@botecomm.com> wrote: I am certain that it does NOT do word wrap, but it does create a horizontal scroll bar if a line is wider than your viewport. This is intentional and I don’t think that it can be changed. Perhaps a Panel would be a better control? Or even a Column nested inside a Section? A Confluence column can be specified to a percentage width or a pixel width and automatically wrap. Hope this helps. Bote From: freeswitch-docs-bounces@lists.freeswitch.org [mailto:freeswitch-docs-bounces@lists.freeswitch.org] On Behalf Of Ítalo Rossi Sent: Thursday, 23 April, 2015 09:42 To: FreeSWITCH Docs Team Subject: [Freeswitch-docs] Confluence Code Macro - wordwrap Bote, Can you check if the code macro is configured to do wordwrap by default? I don't have the right permissions to do it, you can check this on the plugin configuration. We need to enable the wordwrap on this dependencies box: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#Fr... _______________________________________________ Freeswitch-docs mailing list Freeswitch-docs@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs -- Ítalo Rossi _______________________________________________ Freeswitch-docs mailing list Freeswitch-docs@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs -- Ítalo Rossi
On 25 April 2015 at 21:13, Bote Man <bote_radio@botecomm.com> wrote:
After a couple iterations I discovered the secret sauce is:
code {
white-space: pre-wrap;
}
In the global stylesheet.
This makes it look great. Mine probably extends it down further, that's all: http://pastiebin.com/553c6934500b1 -- ------- inum: 883510009027723 sip: jungleboogie@sip2sip.info xmpp: jungle-boogie@jit.si
Thanks Bote :) On Sun, Apr 26, 2015 at 1:27 AM, jungle Boogie <jungleboogie0@gmail.com> wrote:
On 25 April 2015 at 21:13, Bote Man <bote_radio@botecomm.com> wrote:
After a couple iterations I discovered the secret sauce is:
code {
white-space: pre-wrap;
}
In the global stylesheet.
This makes it look great.
Mine probably extends it down further, that's all: http://pastiebin.com/553c6934500b1
-- ------- inum: 883510009027723 sip: jungleboogie@sip2sip.info xmpp: jungle-boogie@jit.si
_______________________________________________ Freeswitch-docs mailing list Freeswitch-docs@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs
-- Ítalo Rossi
participants (4)
-
Bote Man
-
jungle Boogie
-
Michael Jerris
-
Ítalo Rossi