2,806 questions
0
votes
0
answers
8
views
Cipher not initialized during storing Secret key in keystore
fun wrapKey(wrappingKey: SecretKey, secretKey: String): Pair<ByteArray, ByteArray> {
val cipher = Cipher.getInstance("AES/GCM/NoPadding")
try {
cipher.init(...
0
votes
1
answer
45
views
WPF VirtualizingStackPanel Text Wrapping issue after sort
I'm new to WPF and wrote this program to help with organising and cataloguing my books. I used a virtualizing wrap panel which displays perfectly until I sort the books.
Here is the view pre sort: ...
0
votes
0
answers
23
views
Cursor editor line/word/code bizarre wrapping problems
I'm new to Cursor and love it. But I'm confounded by this:
<a href="blah.html"
>a web page</a
> blah blah blah.
If I manually reformat it, on save it will ...
0
votes
2
answers
93
views
How to Create a Rectangle in SwiftUI that Extends width According to the Number of Lines of Text within, swiftui (Similar to Wrap Content in uikit)
working on a SwiftUI project where I need a blue rectangle to adjust its ** width** based on the number of lines of text it contains, specifically not dynamically, but based on a fixed number of lines ...
0
votes
0
answers
52
views
Text in Table Columns Gets Cut Off in PDF Generated with html2canvas and jsPDF – How to Enable Word Wrap?
I am using html2canvas and jsPDF for PDF generation. The downloaded PDF should look like the preview of the document, but I am facing issues with the table layout. Specifically, the text in the table ...
0
votes
2
answers
77
views
Is there a way to make hot text (links) wrap (within the link when needed)?
I am implementing something like a breadcrumbs trail of hot (tap-able) text separated by separator characters and I want the whole thing to wrap as needed in the middle of the hot text if the need to ...
0
votes
0
answers
17
views
Flexbox with wrapped text leaves undesired empty horizontal space [duplicate]
I'm trying to create a printable dynamic HTML form but I cannot arrange the questions and answers on the page the way I want.
I have a flex container for a pair of question and answer and I expect the ...
3
votes
2
answers
145
views
Wrap ggplot2 strip text in a way that avoids short final lines?
I am making a plot where variable descriptions appear in the left "strip" text of facet_wrap() facets. Sometimes when variable descriptions are long enough to be wrapped, the last line comes ...
0
votes
0
answers
72
views
CSS Wrapping Issue: Prevent Words from Expanding to Fill Row on Wrap
I'm struggling with a Flexbox layout issue where I want a specific wrapping behavior for words inside a <span> classed as keep-together. The requirement is for the words to stay together on the ...
0
votes
0
answers
24
views
How to add TextWrapping to multiple elements in a template
I am learning WPF and I have a problem. I am creating a custom control, inheriting it from TextBox. I want to add a placeholder to the TextBox. In the layout I am using 2 ScrollViewer elements, one of ...
0
votes
0
answers
49
views
How to wrap text completely around a png object using CSS without canvas [duplicate]
I need to wrap text around an object (from a png image) using CSS. The text should be wrapped just like how it is arranged in the attached image, not in a box or a defined shape. I have achieved the ...
1
vote
0
answers
39
views
Flexbox Equal Height Cards Wrapping Issue
I am trying to create a section that have 3 equal columns/cards. I run into a trouble when I tries to make it works on smaller screen sizes. Each card should wrap on to a new line when the screen size ...
1
vote
1
answer
65
views
Having trouble wrapping text in a grid on the 3rd text line versus first
this is my first time using a grid layout. I'm having a bit of trouble figuring out how to wrap text on the 3rd line versus how it appears now on the first.
This is how it looks now:
Current Grid - ...
0
votes
0
answers
33
views
How to word wrap text with Weebly HTML embed code element?
I'm trying to use the embed code element on the weebly website builder to create a button that hides a paragraph of text where when it is pushed it reveals the text and then the button can be pressed ...
0
votes
0
answers
320
views
creating a word .doc macro for a resize all / picture stack
Hi group I really need someone's assistance in creating a specific macro to make my work reporting more efficient and streamlined. I am definitely not a guru in this area of expertise. I would ...
0
votes
1
answer
42
views
Wrapping issues with wxPython
I am building an app using wxPython but I am having trouble with the text wrapping on the StaticText elements. The wrapping is working for other elements without using Wrap().
With this test, you ...
0
votes
0
answers
50
views
Python: Wrap a text with ANSI escape sequences in it
In the wrap function from the textwrap module, there’s no way to exclude ANSI escape sequences or other patterns when wrapping text.
I want to extend the function with the parameter exclude of type ...
0
votes
0
answers
17
views
Visual Studio Code keyboard shortcut to toggle word wrap for all editors [duplicate]
In Visual Studio Code, you can change word wrap for a single editor with the command “View: Toggle Word Wrap”. A keyboard shortcut can be bound to this command.
Alternatively, you can change word wrap ...
2
votes
1
answer
48
views
How to wrap functions for visibility in R?
Knitting an R Markdown file to pdf results in lines that are cut off. In order to wrap them, I added the following code that wraps output text. However, I also want to wrap code and functions so they'...
0
votes
0
answers
514
views
How to enable word-wrap (line-wrap at word boundaries) in iTerm2
After updating macOS & iTerm2, word-wrap function in iTerm2 seems to work incorrectly. Long lines break within a word instead of soft-wrapping the whole word to the next line.
Environment:
macOS ...
1
vote
2
answers
80
views
How to format HTML text so it wraps around keywords
So I have this code with a paragraph with keywords and text.
I need to make the format so that the keywords appear next to other, the text starts where the keywords end and then the text also wraps ...
0
votes
2
answers
40
views
2 flex containers showing side by side
Inside the .maroon section I have two .whitewrap sections. I was wondering why it doesn't wrap onto another line and displaying them side by side instead. The form should be underneath the text and ...
-1
votes
1
answer
90
views
Modelsim error flag in integer wrapping around - change to vhdl code not possible
I have an old VHDL code which I need to run a simulation for with Modelsim. This code "includes" a warp around condition which is of no consequence in real hardware but fails in simulation.
...
0
votes
0
answers
29
views
JetBrains IDE Soft-wrap these file syntax question
I am fairly new to the PhpStorm IDE and I want to be able to auto soft wrap all editors so I am trying to configure the Soft-wrap these files: option. The instructions below the text box state "...
0
votes
1
answer
41
views
How can I make text wrap around to the same line in a div?
I'm wondering if there's a way in CSS to get text to wrap around a div on the same line.
For example, say I have this text inside a div:
...and I position the text more to the right (say it has an ...
0
votes
0
answers
9
views
Setting wordwrap width in a Textbox VB Dot Net Visual Basic
How can I set a text box to wordwrap with no more that 47 characters per line.
Textbox is set to multiline = true and wordwrap = true.
[I'm using a normal not rich textbox, but can use richtextbox if ...
2
votes
1
answer
286
views
Nvim with prose: how to set up proper `autoformat` line-wrapping
I'm working a Neovim config for writing prose. I want it to autoformat the current paragraph, continuously line-wrapping. Suppose I use :set formatoptions=a to accomplish this. This leads to the ...
1
vote
1
answer
59
views
Automatic word spacing to fit line CSS
How can i make the word spacing automatically expand in order to fit the containers width?
Image example
<p class="autoWrap">Lorem ipsum dolor sit amet consectetur adipisicing elit. ...
1
vote
1
answer
116
views
General text wrap program in C
I'm trying to make a general text wrap in C. Basically it should handle the text in the following way:
A maximum line length is determined
It must always wrap the text in the spaces, when it is ...
-1
votes
1
answer
137
views
How to wrap a tikzpicture?
\begin{wrapfigure}{r}{0.5\textwidth}
\begin{tikzpicture} [scale=1,>=stealth]
\coordinate (O) at (-0.3, -0.2);
\coordinate (Y) at (-0.2, 4);
...
3
votes
2
answers
1k
views
Break/wrap long text of column names in Pandas dataframe plain text to_string output?
Consider this example:
import pandas as pd
df = pd.DataFrame({
"LIDSA": [0, 1, 2, 3],
"CAE": [3, 5, 7, 9],
"FILA": [1, 2, 3, 4], # 2 is default, so table idx 1 is ...
1
vote
1
answer
124
views
Configure HTML element to behave like text character
Is it possible to configure an HTML element (custom element or built-in) to be treated like a single text (non-whitespace) character -- that is, it has an implied <nobr> wrapped around itself ...
2
votes
3
answers
225
views
Word-wrap issue
I'm very new to C and programing in general and I'm currently trying to write a program that will word-wrap a paragraph of text so that no line in the text is longer than a certain size. The readfile ...
0
votes
1
answer
54
views
the text value doesn't fit in the button
This is a tkinter module related problem
like in my code there is a variable named optButton1 I have made it and used this code sample-
Button(bottomFrame, text=firstOption[0], font=("arial",...
0
votes
1
answer
54
views
Why is the wrap=hard attribute not functioning as expected in a textarea element?
I do need the line breaks, but even with wrap="hard", defining cols, the value is still a single line.
<!DOCTYPE html>
<html>
<body>
<h1>The textarea wrap ...
0
votes
0
answers
23
views
Format text that is splitted accross span that aren't on the same level [duplicate]
I have the following HTML structure that I can't change:
.parent {
width: 250px;
word-wrap: break-word;
border: 1px dotted;
text-align: right;
}
span,
.contenteditable {
display: inline-...
0
votes
0
answers
96
views
css "word break" is not working when I use Korean
I want to line break the tag with word. I used various css but it isn't working.
I used "word-break: break-word" , "word-wrap:break-word", and "overflow-wrap: break-word&...
0
votes
1
answer
166
views
Automatic and manual text wrapping in Java
I need as the title says to wrap a text (a String) in Java in both, automatic and manual mode. For automatic mode I use the "word-wrap" library that wrap the text with a max-length ...
0
votes
0
answers
21
views
Wow slider thumbnails wrapping
I have used wowslider to produce a slideshow in a website and it has worked fine for years. I have been trying to add more pictures to the slideshow and they display ok, but the thumbnails are ...
0
votes
1
answer
144
views
Avoid line wrapping unless necessary, while allowing immediate text flow following last line of wrapped element
This is basically a more strict follow-up to Avoiding line wrapping unless necessary with CSS.
I have a very similar goal as in the previous question:
Keep words in a <span> together - prefer ...
0
votes
0
answers
98
views
How to stop Visual Studio Code from hard wrapping
I've got word wrap off, but VS code performs a HARD wrap on text past around 80 characters when it formats (as it does on a save). I want to either turn off hard wrapping or control the length at ...
0
votes
0
answers
31
views
Wrapping text inside div1 around div2 that is positioned right in the middle of its parent using CSS only
This is what I have in mind:
and I would like to know the simplest way to achieve this purely in CSS adding as little rigidity as possible.
I know it's easy to use float to push the red div left or ...
2
votes
2
answers
196
views
R: How to wrap character columns to print to 2 lines in ggplot, but they're NOT titles?
There are myriad similar questions for splitting character strings to 2 lines with \n and cat (e.g.), paste (e.g.), strwrap (e.g.), and writeLines (e.g.). But all of these either anticipate the output ...
1
vote
1
answer
212
views
Waterfall chart (waterfalls package) ggplot - wrapping long x-axis labels
Using the waterfalls package.
If I try to wrap long axis labels, the labels do wrap, but then they are arranged alphabetically, independently of the data.
Data:
structure(list(Factors = c("Start&...
1
vote
1
answer
59
views
How to style a wrapping anchor element?
I have an anchor element that is styled. This works fine until the anchor wraps onto the next line. Then it only applies that style to the vertical intersection of both lines. How can I apply the ...
0
votes
1
answer
205
views
How to word-wrap long messages in VSCode problem window?
In VS Code as of version 1.82.3, there is a shortcut for word-wrapping (e.g. Alt + 'Z' on Windows) in the editor window.
Is there something similar for longer compiler error messages in the problem ...
1
vote
2
answers
294
views
Stop word wrapping of Write-Warning and Write-Debug on powershell.exe
Background
On powershell.exe, when you write messages with Write-Warning or Write-Debug, Japanese strings without spaces are wrapped automatically.
On PowerShell ISE, these cmdlets don't wrap ...
0
votes
1
answer
62
views
HTML table fill horizontally but have a single column wrap
I have a web extension popup for Chrome where popup.html contains a table like the following
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" ...
1
vote
0
answers
176
views
How to export and then import an asymmetric key [Yubico]
I am trying to export and then import a Key from and into a YubiHSM2 device. I am using the Yubishell for the moment.
* Here we create a key to be wrapped
generate asymmetric 0 0 my_ecckey 1 sign-...
0
votes
3
answers
266
views
Why doesn't the "hyphens" attribute put a "-" at a line break?
I have the following problem:
I have a simple div container with the text "International" inside. I want the word to break when overflowing the container width.
How do I make it, so that ...