Git Product home page Git Product logo

Comments (2)

Hugo-KTM avatar Hugo-KTM commented on August 26, 2024

Edit ▷ Convert ▷ Title Case (Ctrl+Alt+I) does not work for upper case words.

Input:
TEST TEXT

Result:
TEST TEXT

Expected Result:
Test Text

Steps to reproduce:

  1. type text in upper case
  2. select upper case text
  3. apply Edit ▷ Convert ▷ Title Case (Ctrl+Alt+I)

Notepad2-mod (64-bit) 4.2.25 r972 (68b1190)

from notepad2-mod.

gwarser avatar gwarser commented on August 26, 2024

System/library limitation/design?

Converts the specified string to title case (except for words that are entirely in uppercase, which are considered to be acronyms).

Maybe in the future it’ll be smarter, but for now it just uppercases the first letter in a group of letters, and tries to pay attention to non-letters and word breaks. It also tries to keep acronyms all upper-case.

https://msdn.microsoft.com/en-us/library/windows/desktop/dd318700(v=vs.85).aspx
https://blogs.msdn.microsoft.com/shawnste/2009/08/18/what-is-title-case/
http://stackoverflow.com/questions/1206019/converting-string-to-title-case-in-c-sharp
https://msdn.microsoft.com/en-us/library/system.globalization.textinfo.totitlecase(v=vs.110).aspx

from notepad2-mod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.