text-formatting Questions

7

I tried Ctrl + K, Ctrl + D, but it only works for *.cs files. JSON file has no errors and it isn't big, but when I press Ctrl + K, Ctrl + D it says the command is unavailable. I tried some other co...
Steffy asked 4/2, 2020 at 1:17

6

Solved

In different encodings of Unicode, for example UTF-16le or UTF-8, a character may occupy 2 or 3 bytes. Many Unicode applications doesn't take care of display width of Unicode chars just like they a...
Bayern asked 3/9, 2010 at 9:54

5

Solved

I'm trying not to use the ',' char as a thousand separator when displaying a string, but to use a space instead. I guess I need to define a custom culture, but I don't seem to get it right. Any poi...
Henceforth asked 15/4, 2009 at 15:8

6

Solved

I'm having trouble making python print out texts properly aligned. I have tried everything I knew, but still the same result and it's very annoying!. Here is what I'm getting in the console He...
Hiatt asked 28/6, 2012 at 13:9

4

Solved

In Redmine's text editor, to make any word bold you have to surround it with an asterisk * like *this*. My question is how could I make only one character bold? *t*his does not seem to work.
Fuddyduddy asked 23/6, 2014 at 7:38

5

I have text like this: 1;a;3;; 2;abc;4;; 3;abcde;5;; I want to align texts to the right with notepad++, so become like this: 1;a;3;; 2;abc;4;; 3;abcde;5;; How to do this?
Clastic asked 30/10, 2017 at 10:1

8

Solved

On Windows, using System.out.println() prints out \n\r while on a Unix system you would get \n. Is there any way to tell java what new-line characters you want to use?
Halflight asked 27/3, 2014 at 8:5

4

Solved

I am trying to format a cell to have multiple font colors using a function in Google Apps Script. I am unable to find any documentation on it. Also, using getFontColor() doesn't return anything use...
Perfoliate asked 14/3, 2018 at 20:28

3

Solved

I have object like this: { Name: "John" Location: "Unknown" Type: "Unknown" Status: "Unknown" Phone_number: "Unknown" } Need to format it like this (with tabs or spaces): Name: John // thr...
Drenthe asked 20/6, 2013 at 21:29

5

Solved

I want a text color to be red in color on certain condition. Here is how i want to get it done. string minusvalue = TextBox1.Text.ToString(); if (Convert.ToDouble(minusvalue) < 0) { // set colo...
Pollie asked 3/4, 2012 at 9:42

2

Solved

I don't understand how to create a custom text formatter for Amazon Cloudwatch as mentioned: var formatter = new MyCustomTextFormatter(); I am trying to write Serilog logs to Amazon CloudWatch ins...
Abeabeam asked 8/1, 2019 at 9:37

13

Solved

I have the following: <html> <body> <script type="text/javascript"> document.write('Hello\nWorld') </script> </body> </html> As you probably all ...
Angulate asked 25/4, 2011 at 19:39

1

Solved

Whenever I use printf in the shell whether it is within awk, a standalone application, or in C/C++ it prints a "%" after everything. For instance, when I type printf "hi" I get this as an output hi...
Wichita asked 9/6, 2020 at 19:55

1

Solved

Inbefore: I know this question has been asked more than once on this forum. I know I could post my answer on these other posts. My issue is that the users who asked those questions did it 3 - 4 yea...
Perpetual asked 28/5, 2020 at 17:18

2

Solved

By looking at Telegram’s “Markdown Syntax” Wiki page, it should be relatively easy to create text that is bold and italic. There, it says that *this is in italic* and _so is this_ **this is in bol...
Plumbago asked 25/9, 2018 at 10:8

6

Solved

var i : integer; i := 1234567; Given the above, I want the string "1,234,567" as output (assuming UK locale). IntToStr just gives me "1234567". I'm sure there's a one-liner for this, but I can't...
Vulpecula asked 17/11, 2008 at 16:7

4

The task is to apply strikeout to current font in selected text area. The difficulty is that Outlook doesn't support recording macros on the fly - it wants code to be written by hand. For example...
Hereinafter asked 19/11, 2009 at 13:19

3

Solved

I'm making a document in LaTeX. It includes a set of images in a row. A small percentage are quite wide and will stretch and push off the page. If I shrink all the image sequences then most of them...
Meneau asked 28/7, 2010 at 10:42

2

I have a django model which contains a description field: class Product(models.Model): name = models.CharField(max_length="125") description = models.TextField() class ProductForm(ModelForm): ...
Breastfeed asked 20/11, 2013 at 12:24

4

Solved

I have to do a very specific task to re-do over and over again and would like to have it put permanently in my .emacs file. But I am not versed enough in emacs-lisp to manage it: Keystroke-1, say ...
Parchment asked 28/11, 2013 at 20:33

1

Solved

To change the font weight of cell value in a Google trix using Google App script, I am using 'setFontWeight'. However, if I need to make a given word in bold, and not the entire cell value. Please ...
Beastly asked 18/4, 2017 at 6:47

5

Solved

I'm making a LaTeX document for someone. A certain piece of text looks "bold" for them, even though I'm not using the \textbf command. It's just a normal default LaTeX font. Is there any command to...
Capillary asked 25/3, 2010 at 15:43

1

I'm dealing with a bunch of legacy C code whose formatting is all over the place and I would like to clean it up as I work. However, there are some sections that I do not want touched (or I'd rathe...
Sexcentenary asked 20/3, 2018 at 14:47

10

My requirement is that I need to display text in label in such a way that if the length of text is too big to accommodate in one line, i need to truncate it at the end in such a way that only the l...
Disbursement asked 6/12, 2013 at 6:47

3

Solved

My issue is that when using reportlab to generate a simple text document it loses all of the formatting. I've run it through a few times to try and debug it and the issue seems to be, when passing ...
Chandra asked 9/6, 2016 at 10:58

© 2022 - 2024 — McMap. All rights reserved.