如果我告诉我格式化当前行,请对其进行以下格式化:
**Radio button aria-checked: true or false one at a time**
$('input:radio[name=anynameofinput]').change(function() {
if (this.value === 'value1') {
$("#id1").attr("aria-checked","true");
$("#id2").attr("aria-checked","false");
}
else if (this.value === 'value2') {;
$("#id2").attr("aria-checked","true");
$("#id1").attr("aria-checked","false");
}
});
它产生:
std::cout << "This is a long string that goes past the 80 column limit and causes problems";
这不是我想要的事情!我宁愿这样将字符串分开:
std::cout
<<
"This is a long string that goes past the 80 column limit and causes problems";
我已经找到设置std::cout << "This is a long string that goes just past the 80 column "
"limit..........";
来告诉它对齐断开的字符串,但是无论如何我都无法配置它决定将线分开的位置,更不用说配置它来断开字符串了
这可能吗?