Author Topic: Word Wrap on non spaced names  (Read 754 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 5882
  • Karma: +71/-79
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Word Wrap on non spaced names
« on: May 29, 2017, 04:50:08 pm »
I'm sure there was some discussion recently on the forum about word wrapping.  But I can't find it.

Anyway, there should be the ability to word wrap names that don;t have spaces, but do have mixed case naming.  We commonly use a naming scheme we've called Complex Pascal Naming where capital letters separate words, but Acronyms and Initialisms are allowed to retain their Uppercase.  It's not that hard to write an algorithm to split the words up and determine where the word wrap should be.

Please consider.

Reported,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2436
  • Karma: +29/-2
    • View Profile
Re: Word Wrap on non spaced names
« Reply #1 on: May 29, 2017, 05:01:58 pm »
The Sparx Team
support@sparxsystems.com

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 5882
  • Karma: +71/-79
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Word Wrap on non spaced names
« Reply #2 on: May 29, 2017, 07:24:51 pm »
I think it was this one: http://sparxsystems.com/forums/smf/index.php/topic,37287.msg233871.html
That's the one!

Searching for any of {"Word wrap" wordwrap} doesn't find it, I guess I should have added: "wrap" on its own...  ::) ::)

Thanks,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2436
  • Karma: +29/-2
    • View Profile
Re: Word Wrap on non spaced names
« Reply #3 on: May 30, 2017, 10:51:03 am »
Searching for any of {"Word wrap" wordwrap} doesn't find it, I guess I should have added: "wrap" on its own...  ::) ::)
I searched for "camel" :)
The Sparx Team
support@sparxsystems.com

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1157
  • Karma: +8/-3
  • Read The Help!
    • View Profile
Re: Word Wrap on non spaced names
« Reply #4 on: May 30, 2017, 11:40:24 am »
What? And not for Donaudampfschiffahrtsgesellschaftskapitän?  You surprise me.
Best Regards, Roy

skiwi

  • EA Practitioner
  • ***
  • Posts: 1727
  • Karma: +23/-49
    • View Profile
Re: Word Wrap on non spaced names
« Reply #5 on: May 31, 2017, 02:56:04 pm »
Anyway, there should be the ability to word wrap names that don;t have spaces, but do have mixed case naming.  We commonly use a naming scheme we've called Complex Pascal Naming where capital letters separate words, but Acronyms and Initialisms are allowed to retain their Uppercase.  It's not that hard to write an algorithm to split the words up and determine where the word wrap should be.

Please consider.

Reported,
Paolo
+1


Algorithm: e.g. Split if needed after lowercase letter whenever lower case precedes uppercase; split if needed prior to any instance of Uppercase letter followed by lower case; split (say) if needed at any non alphanumeric character
Orthogonality rules
Using EA12.1 (1229) on Windows 10 Enterprise/64 bit. Repositories in SQLServer2014 R2 & Access2003/JET4.0