Author Topic: Format and Case correction with Smart Helpers  (Read 871 times)

Offline JJK

  • Full Member
  • ***
  • Posts: 151
  • Karma: +2/-0
    • View Profile
Format and Case correction with Smart Helpers
« on: July 01, 2009, 09:33:09 am »
Hi Alex,

HE gets better and better...
Just a little issue, but annoying :
In Options Smart helpers > Case correction I use Make operand = Like in syntax definition
Yet when I format (all or selection), case is not changed when line was not reformated. For example if indent is already correct, there is no reformating. In this case, the case correction doesn't work.
Even if I use another option (Capitalize, UPERCASE...) no case correction.

Currently, to apply case correction, I delete all indents, so all lines are reformated and case correction is applied.
But is there another workaround or is it not planned ?
« Last Edit: July 01, 2009, 09:36:15 am by JJK »

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Format and Case correction with Smart Helpers
« Reply #1 on: July 01, 2009, 10:38:53 am »
Hi JJK,

I would tell this is a bug, but I could not reproduce the issue... (tried with HTML syntax and this text <HTML></HTML>).

So, can you provide here reproducible example + syntax you are using. I would check.

And I would also move the  post to Bug reports board.

Best regards,
Alex.

Offline JJK

  • Full Member
  • ***
  • Posts: 151
  • Karma: +2/-0
    • View Profile
Re: Format and Case correction with Smart Helpers
« Reply #2 on: July 01, 2009, 01:34:49 pm »
Here is a file sample written in OOoBasic.
For example in line 10 I have the keyword "right" written in lowcase.
When I format all (menu Format > Format all) with Case correction=Like in syntax definition, nothing happens because the file is already correctly formated.
Now I unindent the line 10, then I format all. "right" becomes "Right" as in syntax definition, what is I expected. But to get the case correction, I had to "unformat" previously, for example by unindenting the whole file, or obviously, only the lines where I want correct case.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Format and Case correction with Smart Helpers
« Reply #3 on: July 01, 2009, 08:15:02 pm »
Hi JJK,

yes, I have reproduced that. Looks like something simple. Would be fixed with 1.45 beta end of this week.
Thanks a lot for bug report ;)

Best regards,
Alex.

Offline JJK

  • Full Member
  • ***
  • Posts: 151
  • Karma: +2/-0
    • View Profile
Re: Format and Case correction with Smart Helpers
« Reply #4 on: July 01, 2009, 08:33:12 pm »
Yes !!
but no hurry : I am in vacation until 14/7 without no computer.
What a pain !

But there are perhaps other users to which your fix will be welcome.

So, hurry  :D

Best regards

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
869 Views
Last post January 07, 2009, 04:25:00 pm
by Stefan
1 Replies
488 Views
Last post February 15, 2009, 03:53:40 pm
by alex
1 Replies
380 Views
Last post March 31, 2009, 08:40:11 pm
by alex
2 Replies
476 Views
Last post April 20, 2009, 09:36:34 pm
by Arthur
1 Replies
142 Views
Last post May 27, 2011, 04:30:52 pm
by alex