mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
whitespace to sync my tree
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6449 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ce3b1fa997
commit
31e8978f2b
@ -726,10 +726,8 @@ void Paragraph::makeSameLayout(Paragraph const * par)
|
||||
|
||||
int Paragraph::stripLeadingSpaces()
|
||||
{
|
||||
if (layout()->free_spacing ||
|
||||
isFreeSpacing()) {
|
||||
if (layout()->free_spacing || isFreeSpacing())
|
||||
return 0;
|
||||
}
|
||||
|
||||
int i = 0;
|
||||
while (!empty() && (isNewline(0) || isLineSeparator(0))) {
|
||||
@ -786,15 +784,13 @@ Paragraph::depth_type Paragraph::getDepth() const
|
||||
|
||||
Paragraph::depth_type Paragraph::getMaxDepthAfter() const
|
||||
{
|
||||
bool const isenv = layout()->isEnvironment();
|
||||
|
||||
if (isenv)
|
||||
if (layout()->isEnvironment())
|
||||
return params().depth() + 1;
|
||||
else
|
||||
return params().depth();
|
||||
|
||||
}
|
||||
|
||||
|
||||
char Paragraph::getAlign() const
|
||||
{
|
||||
return params().align();
|
||||
|
@ -515,7 +515,7 @@ void LyXText::setLayout(BufferView * bview, string const & layout)
|
||||
|
||||
// increment depth over selection and
|
||||
// make a total rebreak of those paragraphs
|
||||
void LyXText::incDepth(BufferView * bview)
|
||||
void LyXText::incDepth(BufferView * bview)
|
||||
{
|
||||
// If there is no selection, just use the current paragraph
|
||||
if (!selection.set()) {
|
||||
|
Loading…
Reference in New Issue
Block a user