pillar highlight text in code

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

pillar highlight text in code

Nicolai Hess-3-2
Can we highlight a piece of code?
In the updated PBE (Reflection chapter) there is the text:
"Change the definition of Integer>>>factorial by inserting the underlined expression as shown below"
But I can not see the "underline" in the code example. Is it even possible to add such text properties to a "code-style" formatted text ?

BTW, the method name is wrong (in both places)
Integer>>#factorial
not
Integer>>>factorial
Reply | Threaded
Open this post in threaded view
|

Re: pillar highlight text in code

Nicolai Hess-3-2


2016-11-03 23:50 GMT+01:00 Nicolai Hess <[hidden email]>:
Can we highlight a piece of code?
In the updated PBE (Reflection chapter) there is the text:
"Change the definition of Integer>>>factorial by inserting the underlined expression as shown below"
But I can not see the "underline" in the code example. Is it even possible to add such text properties to a "code-style" formatted text ?

BTW, the method name is wrong (in both places)
Integer>>#factorial
not
Integer>>>factorial


actually all code examples in that chapter uses
>>>
instead of
>>#

Reply | Threaded
Open this post in threaded view
|

Re: pillar highlight text in code

stepharo

Yes I should fix them.



Le 3/11/16 à 23:52, Nicolai Hess a écrit :


2016-11-03 23:50 GMT+01:00 Nicolai Hess <[hidden email]>:
Can we highlight a piece of code?
In the updated PBE (Reflection chapter) there is the text:
"Change the definition of Integer>>>factorial by inserting the underlined expression as shown below"
But I can not see the "underline" in the code example. Is it even possible to add such text properties to a "code-style" formatted text ?

BTW, the method name is wrong (in both places)
Integer>>#factorial
not
Integer>>>factorial


actually all code examples in that chapter uses
>>>
instead of
>>#


Reply | Threaded
Open this post in threaded view
|

Re: pillar highlight text in code

Nicolai Hess-3-2


2016-11-05 13:41 GMT+01:00 stepharo <[hidden email]>:

Yes I should fix them.


Are you working on this right now? Otherwise I can do it too.
And I was about to create new screenshots for that chapter. Just tell if you would need them or if you are
about to change them yourself.

 


Le 3/11/16 à 23:52, Nicolai Hess a écrit :


2016-11-03 23:50 GMT+01:00 Nicolai Hess <[hidden email]>:
Can we highlight a piece of code?
In the updated PBE (Reflection chapter) there is the text:
"Change the definition of Integer>>>factorial by inserting the underlined expression as shown below"
But I can not see the "underline" in the code example. Is it even possible to add such text properties to a "code-style" formatted text ?

BTW, the method name is wrong (in both places)
Integer>>#factorial
not
Integer>>>factorial


actually all code examples in that chapter uses
>>>
instead of
>>#



Reply | Threaded
Open this post in threaded view
|

Re: pillar highlight text in code

Nicolai Hess-3-2
In reply to this post by stepharo


2016-11-05 13:41 GMT+01:00 stepharo <[hidden email]>:

Yes I should fix them.



I added a pull request fixing the ">>>" vs. ">>" in the reflection chapter. (some other chapters are using >># instead, I think we should convert them all to use ">>" only)

will now update the reflection chapter screenshots.

 


Le 3/11/16 à 23:52, Nicolai Hess a écrit :


2016-11-03 23:50 GMT+01:00 Nicolai Hess <[hidden email]>:
Can we highlight a piece of code?
In the updated PBE (Reflection chapter) there is the text:
"Change the definition of Integer>>>factorial by inserting the underlined expression as shown below"
But I can not see the "underline" in the code example. Is it even possible to add such text properties to a "code-style" formatted text ?

BTW, the method name is wrong (in both places)
Integer>>#factorial
not
Integer>>>factorial


actually all code examples in that chapter uses
>>>
instead of
>>#



Reply | Threaded
Open this post in threaded view
|

Re: pillar highlight text in code

Nicolai Hess-3-2


2016-11-06 19:35 GMT+01:00 Nicolai Hess <[hidden email]>:


2016-11-05 13:41 GMT+01:00 stepharo <[hidden email]>:

Yes I should fix them.



I added a pull request fixing the ">>>" vs. ">>" in the reflection chapter. (some other chapters are using >># instead, I think we should convert them all to use ">>" only)

will now update the reflection chapter screenshots.

some texts (for the screenshots) needs to be updated as well, for example, there is no OBBrowser or Refactoring browser
 

 


Le 3/11/16 à 23:52, Nicolai Hess a écrit :


2016-11-03 23:50 GMT+01:00 Nicolai Hess <[hidden email]>:
Can we highlight a piece of code?
In the updated PBE (Reflection chapter) there is the text:
"Change the definition of Integer>>>factorial by inserting the underlined expression as shown below"
But I can not see the "underline" in the code example. Is it even possible to add such text properties to a "code-style" formatted text ?

BTW, the method name is wrong (in both places)
Integer>>#factorial
not
Integer>>>factorial


actually all code examples in that chapter uses
>>>
instead of
>>#